z/OS Kung-fu Moves
#1 ISPF Combo moves
Note: An LLQ is the last qualifier in a data set. It’s the segment after the last “.”
Firstly, I can look in the output data set from SuperC, which is stored my default at userid.SRCHDSL.LIST
Secondly, I can simply an “E” (for edit) next to the dataset, in this case BS9U.DEVT3.CLIBPAU, and issue SRCHFOR COFFEE again. This time the search will be executed within the context of the data set, identifying the particular member I’m interested in.
Now that Tea Time is over, let’s add some more Kung-Fu
F all Tea
C all Tea Coffee
Now that we’re back to coffee, let’s assume I just want to display the lines with instances of “coffee” and exclude all other lines of text in this member.
Let’s speed things up…
- F21 (Shift + F9) has the SWAP command to switch between split screens (we can cover setting up split screens like a super star on another Kung-Fu Move)
- F22 (Shift + F10) has a reset command (RES)
- F23 (Shift + F11) has the commands we just entered EXCLUDE ALL; HIDE X;
- F24 (Shift + F12) has the CRETRIEV command which I use ALL THE TIME!!! If the cursor is not on the command line it will place the cursor there; if I keeping hitting the key it will cycle through the last commands I entered,
- Opened the member with EDIT
- Excluded all the lines and hide exclude information with my F23 key (x all;hidex)
- Used the FIND command to find all the instances (f all coffee)
- Made all the changes (C all Coffee Tea)
- Pressed F22 to reset the screen and see our changes
- Saved changes with the SAVE command (my F4 key)
After doing a four month internship with the Canadian Government, Paul was offered the rare opportunity to work in their on-site Data Centre. Starting out as an Operator for four years before becoming a Systems Programmer rolling out different independent software vendors (ISVs) and different IBM Tivoli products for monitoring and automation to the z/OS platform. Paul enjoys the constant learning the z/OS operating system offers in comparison to other platforms. On weekends you’ll find Paul getting his adrenalin fix by instructing and coaching at the local skydiving drop-zone.
Connect with Paul on LinkedIn