Sign In

Dz Challenge: Tips and Techniques Got a great tip or technique to share?
z & A > Dz Challenge: Tips and Techniques > RE:Take the Dz Tips and Techniques CHALLENGE! View modes: 
User avatar
Member
Member
Anoop Thomas - 5/4/2012 2:40:42 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
1. Consider that you are editing a file/program and you want to know the changes you have done
since the last SAVE command. How to find that?

Give "COMPARE SESSION" or "COMP * X" on the command line

2. Any command entered in the COMMAND LINE disappears after the successful execution of its
intended function. If you want to repeat the same command , you got to re-type it or use some PF key to retrieve the
last command entered. Method to the make the command entered not to disappear and stay on the screen.

Precede commands with '& '

3. How can I find the last 10 datasets that I have accessed ?
a.GO TO ISPF 3.4 option.
b. On the top, there is a MENUBAR. Select REFLIST
c. Select Option 1 in it.

4. If we want to edit a member, which has CBL as middle string in the PDS MY.PDS.MEMBERS.
One shortcut way is to in the ISPF 3.4 listing of the PDS,
Issue S *CBL* E in the command line. If we don’t use E at the end, it will open in browse mode.

5. One can view the clipboard after any valid CUT command was issued.
To view the clipboard, issue : CUT DISPLAY.

6. I have a dataset with 10,000 lines.I want to cut the first 10 lines and last 10 lines and paste into another dataset.When I cut the first 10
lines and then again the last 10 lines ,only the last 10 lines are pasted into the new dataset.
The answer for the above question is to:
a.first cut 10 lines, then issue CUT APPEND
b.then cut last 10 lines, then issue CUT APPEND
c.When you PASTE it, you got both.

7. In 3. option how to bring the previously typed datasets one by one, so that we can avoid retyping them
a. enter KEYS in the command line,KEYS window will popup
b. set any key to NRETRIEV and exit
c. now when you are in 3.4 or whichever screen you have set the KEYS option, press theassigned PF keys.
d. Pressing them repeated will bring up one-by-one the last 30 accessed datasets from the reflist.

8. Is there command similar to Wordwrap (as in Notepad or MS WORD) in mainframe?
a. Open the dataset in ISPF EDIT mode.
b. In the first line, issue the line command: TF80 (as in this case I want to wrap to 80 chars per line)
c. All the subsequent lines will wrap to 80 chars per line.

9. How does the system differentiates between JCL comment statements (i.e., //* statements) and
JES3 Statements (which also start with //* ) ?
If the 4th column contains JES3 keyword, the line is considered to be JES3 statement, else it is considered as normal JCL statement.

User avatar
Advanced member
Advanced member
mwestholder - 5/9/2012 8:47:32 AM
   
RE:Take the Dz Tips and Techniques CHALLENGE!
Entry No. 1 was selected as a finalist for the Destination z Tips and Techniques Challenge. Vote Now.

1