FDRSRS ISPF Fast Paths and Commands
ISPF Fast Paths
Once you have become familiar with using SRS, you can use these ISPF fast path options from the ISPF main menu to invoke SRS without going through the intermediate panels:
A.S..
Executes the DEFAULT Data Set Selection Criteria and selects data sets matching your TSO prefix or TSO user ID.
A.S.dsfilter
Executes the DEFAULT Data Set Selection Criteria, and selects the data sets matching the data set name filter specified. The filter can be any type of data set filter supported by the XDSN= operand of FDREPORT as documented earlier in this section. If the data set filter is not in quotes, SRS assumes that it is a prefix and append “.**” to the end. For fully-qualified names, place them in single quotes. For example:
A.S.TSO1
A.S.'TSO1.JCL.CNTL'
A.S.'TSO+.*.CNTL'
A.S.selname,dsfilter
Same as the previous fast path except that the Data Set Selection Criteria saved under name “selname” is used. For example:
A.S.ABRBKUP,TSO1
In all of the preceding A.S fast paths, you may optionally follow them with a backslash and a volume serial or volume prefix to limit the display to those volumes. For example:
A.S.TSO1\PUB* A.S.ABRBKUP,PROD.PAYROLL\PAY123 A.S..\WORK*
A.S1
Displays the most recently used saved Data Set Selection Criteria, allowing you to modify and execute it.
A.S1.selname
Displays the named saved Data Set Selection Criteria. For example,
A.S1.ABRBKUP
A.S2
Displays the most recently used saved Data set List.
A.S2.listname
Displays the named Data set List.
A.S3
Displays the most recently used Volume Selection Criteria list.
A.S3.volser
Executes the most recently used Volume Selection Criteria list against the volume serial or VOLSER prefix specified. For example,
A.S3.TSO123
A.S3.TSO1*
A.S3.selname
Displays the named Volume Selection Criteria list.
A.S3.selname,volser
Executes the named Volume Selection Criteria list against the volume serial or VOLSER prefix specified.
A.S4
Displays the most recently used saved Volume List.
A.S4.listname
Displays the named saved Volume List.
Since ISPF also allows you to stack ISPF commands on one line, separated by a semicolon (by default), when the ISPF fast path results in a data set or volume list being displayed, you can also specify a command to be executed against all of the displayed data sets or volumes. For example:
A.S.PDS,USER1;REORG / FG
Assuming that PDS is a saved selection criteria that selects only PDSs, this executes a reorganization (PDS compression) against every PDS belonging to USER1.
ISPF and TSO Commands
You can invoke SRS or an FDR function as a primary ISPF command from any panel in any ISPF application. See Installing-the-FDR-Dialogs for details.
Using this method, you can create primary ISPF commands for common tasks that can easily access from the ISPF primary command line. From the data set or volume selection list, fill in the desired values and enter the SAVE command; enter the dialog to save the selection and entered values as an ISPF command.
FDRSRS - Saving ISPF & TSO Commands
COMMAND ===> save SCROLL ===> CSR
ENTER SELECTION CRITERIA
Read Save Submit Find Locate Extract Options Help
FIELD SELECTION VALUE REPORT SORT
----- ----------------------------------------------------- ------ ----
SOURCE FIELDS
DSNAME ===> jsb.**_______________________________________________ ____ ____
VOL ===> _____________________________________________________ ____ ____
SOURCE ===> CATVTOC (Catalog Volume Archive Appl Scratch Extract) ____ ____
---
This displays the “Save Selection Criteria” panel where you specify the member name and the optional description. On the command line, enter “ADDISPF” or “ADDTSO” to make the selection criteria available as an ISPF or TSO command.
DRSYS – Save Selection Criteria
COMMAND ===> addispf
Specify the library and member name where the Selection Criteria will be saved:
Data Set Name ===> 'JSB.SRS.SELECT'
Member Name ===> LISTJSB
Description ===> List all data sets with HLQ=JSB
Save option:
Replace an existing member ===> YES (Yes or No)
Enter ADDISPF in the command line to make this accessible as an ISPF command.
Enter ADDTSO in the command line to make this accessible as a TSO command.
Enter CANCEL in the command line to cancel the save operation.
The ADDISPF command presents the following panel that allows entering of the options to add the command to the ISPF command table.
FDRSRS – Add FDR Commands to an ISPF Command Table
COMMAND ===> add SCROLL ===> CSR
ADD - add the selected table entries CANCEL - exit immediately
How are the FDR dialog libraries allocated ?
Allocation ===> 2 (1 - at TSO LOGON time, by the LOGON proc or CLIST)
(2 - on demand, by the ABRALLOC CLIST)
ISPF table library to update: (optional)
Data set name ===> 'SYSP.JSB.TABLES'
ISPF command table to update:
Application ID ===> ISP
Sel Command Truncate Type Description
--- ------- -------- ---- ----------------------------------------------------
S LISTJSB 7 S1 LIST ALL DATA SETS WITH HLQ=JSB
The ADDTSO command presents the following panel that allows entering of the options to add the command to the TSO command table.
FDRSRS – Add TSO Command
COMMAND ===>
FDR Function Command: LISTJSB
TSO Command Name to be added ===> LISTJSB
Description ===> LIST ALL DATA SETS WITH HLQ=JSB
How are the FDR dialog libraries allocated ?
===> 2 (1 - at TSO logon time, by the Logon Proc or logon CLIST)
(2 - on demand, by the ABRALLOC CLIST)
FDR dialog CLIST library to update: (blank and press enter for default name)
Data set name ===> 'JSB.DIALOG.CLIST'
Press PF3 (END) to continue processing. Enter CANCEL to bypass operation.