Ispf & Tso: Mainframe Refresher Part-1 Page
Ispf & Tso: Mainframe Refresher Part-1 Page
ISPF
They are:
1. Primary Commands that can be entered in the Command Line.
2. Line Commands that can be entered in the line(s).
F ‘Musa’ WORD Look for ‘ Musa ‘. Word is a string followed and prefixed by
space.
F ‘Musa’ PREFIX/SUFFIX Look for ‘Musa’ as a prefix or suffix with some other
strings.
Note: PREFIX/SUFFIX/WORD/CHARS are mutually
exclusive.
F ‘Musa’ X Locates the string ‘Musa’ in excluded lines.
NX searches the string only in non-excluded lines.
Note: X/NX are mutually exclusive with each other.
Locates the next occurrence of the string that was
F * NEXT searched in the last find command.
C ALL ‘Musa’ ‘Muthu’ Changes all ‘Musa’ as ‘Muthu’.
Special String Characters that can be used with FIND and CHANGE:
Primary commands prefixed with & (ampersand) is left in the command line after execution.
This way the same command can be entered multiple times without retyping it in each time.
Any of the line commands can be mapped to a PF key and invoked by pressing that
key. Example if you map ‘X ALL’ command with PF4, then every time PF4 is pressed, all the
lines are excluded. Mapping can be done by the line command KEYS. In this way, 24 keys
PF1-PF24 can be mapped. PF13-PF24 is nothing but Shift + PF1- PF12.
PF1 Help
PF2 SPLIT - Split the screen at the cursor’s location
PF3 Exit
PF4 Exit or RETURN
PF5 RFIND - Find next occurrence of the last F command
PF6 RCHANGE – Change next occurrence of the last C command
PF7 UP
PF8 DOWN
PF9 SWAP
PF10 LEFT
PF11 RIGHT
PF12 RETRIEVE - repeats the previous command line command
Mainframe Refresher Part-1 Page:5
LINE Commands:
TSO
Frequently used TSO commands are listed in the table. They can be issued from any
ISPF panel with TSO prefix. TSO prefix is not required if you execute them in TSO panel.
(Option 6 of ISPF)
LISTCAT It is used to list entries in MVS catalog. The syntax and the
available options are explained in VSAM - IDCAMS section.
LISTCAT ENTRIES’SMSXL86.TEST.SOURCE’ ALL
LISTDS It is used get the information about one or more datasets.
LISTDS ‘dataset-name’ MEMBERS|HISTORY|STATUS|LEVEL
TSO Commands can be executed in batch (JCL) using terminal monitor program IKJEFT01.
The above step renames two datasets from MVSQUEST qualifier to LEADSOFT qualifier. Any
high volume manual job can be completed in matter of minutes if you have good knowledge
in ISPF and TSO commands with little exposure to REXX.