Joined: 20 Oct 2006 Posts: 6968 Location: porcelain throne
and it can be found in the ISPF EDIT PF1 help.
the above means, when you are in a VIEW or EDIT session, PF1.
the are many Help screens within this function; good read for experienced as well as novice users.
By the way, here is why I wanted to know the command:
If you have a JCL which calls a PROC,and for the purpose of testing, if you to create a test JCL which has all the proc steps within it, and if you want substitutions to be done for all symbolic parameters, here's how:
Open the JCL
Do a PREP
The PROC and all sysin cards will be expanded as notes. These lines will have =NOTE= in the prefix column.
To expand the note lines, this can be done:
Decide which portion of the notes have to be expanded, and type MDD at the start and end of the block (MDD – block command for Make Data)
All the note lines will become editable data.
Now the following can be done to remove JCL errors:
C all 1 2 xx //;c all 1 2 ** //;x all 1 2 && ;
del all x;x all 1 2 //
and then a selective deletion of displayed lines
Then delete the expanded libraries, proc call, and the first statement in proc
I hope this makes some sense. It did save me a lot of manual editing to create a test JCL.
Maybe I was not patient enough when searching ISPF Help, but I did not find the MDD command. Let me check again next time, because if help is explanatory enough, then a lot of queries can be answered that way.