Sunday, April 22, 2012

ISPF – List Last 25 COMMAND LINE Commands

What are all the last 25 COMMAND LINE commands that you have issued from ISPFpanel ?


Solution:
Just use the command RETP. This will open the “ISPF Retrieve Panel” and will show you the commands you’ve issued.
This is an easy way to not only check what you’ve been doing but also to re-run a command without having to type it all over again.



ISPF - TIP #006

We usually search for members in a PDS by the first string of the members.
Consider this situation:
I have a PDS and I want to search it for member only by middle string of the members.
e.g. there are some members like BESTJCL1,RESTJCL2,PESTCBL1, BESTCBL2,WESTCBL3,TESTASM1,BESTASM2...etc

I want to find members which have CBL in them.How can I search and find these members?

Answer:
Use ISPF 4.12 option.
Specify the dataset to be searched and the pattern of the string.
Specify the LANG type as COB
And select the browse option.