Wednesday, May 25, 2011

ISPF - TIP #010

What are all the last 25 COMMAND LINE commands that you have issued from ISPFpanel ?
How to know this?
Solution:
Type RETP on the Command line.

ISPF - TIP #009

While Browsing Internet, we have some cool option called address Autocomplete…
we enter some letters in the address bar and the browser auto completes it with the closest guess.
Does MAINFRAME has the same feature??
Solution: Yes! It has “Autocomplete” feature!!!How to use it?
1.Go to ISPF 3.4 ,
2. Enter KEYS in the command line,KEYS window will popup
3. Set any key to AUTOTYPE, save and exit
4. Now type any Dataset partially and press the assigned PFkey!!
Note: It will not retrieve GDGs and VSAM files.

ISPF - TIP #008

Alternate to SuperCE Option(3.13)
Use the macro COMPARE
Use this when you there is less difference between the two files.
1.Open a DSN in EDIT or VIEW Mode
2. On the Command line , issue COMP 'YOUR.SECOND.COMPARISON.DSN'
3. If you want only the changes to be listed, issue COMP'YOUR.SECOND.COMPARISON.DSN' EXC

ISPF - TIP #007

How can I find the last 10 datasets that I have accessed ?


Solution:


1.GO TO ISPF 3.4 option.


2. On the top, there is a MENUBAR. Select REFLIST


3. Select Option 1 in it.


Using this option you can find out the last 30 datasets that you have accessed

ISPF - TIP #006

We usual 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.
for 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?

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

Tuesday, May 24, 2011

ISPF - TIP #005

While trying to open any member in a PDS, we sometimes come across "member in use" message.
In that situation, if you want to know who is using the membercurrently, press F1 twice.

ISPF - TIP #004

Any command entered in the COMMAND LINE disappears after the successful execution of itsintended function.If you want to repeat the same command , you got to re-type it or use some PF key to retrieve thelast command entered.
But here is a cool method the make the command entered not to disappear and stay on the screen.Precede commands with '&'
For Example:
COMMAND ===> &C '100-para' '200-PARA' SCROLL ===> CSR****** ************************ TOP OF DATA **************
000001 IDENTIFICATION DIVISION.
000002 PROGRAM-ID. PROGRAM1.
000003 DATE-WRITTEN. MAY 2011.
After the execution of the command, the below command stays on the screen.
This way you can entering the same command or modifying the command a little and using itmultiple times.