|
|||||||||||
|
Chicago-Soft
|
MVS/QuickRef Batch Commands by Robert Norris [Editor's Note:] Like all good commercial ISPF software, MVS/QuickRef
can also be run in batch. And not in the TSO-in-batch mode where PGM=IKJEFT01
(or one of its entry points) is needed. No, you use PGM=QWIKREF1. Consider
this informative article by one of the developers of MVS/QuickRef to see
if you can use this feature of MVS/QuickRef.
Below is an example of the JCL used to execute MVS/QuickRef in batch along
As shown above, one or more batch commands can be specified (one per in-stream record) via the QWCMDSDD DD statement. Each command and any required parameters should be formatted just as they would be if the command were being entered on the ISPF command line. When a single command is specified, the information returned is the information relating to that specific command. When multiple commands are specified, the information returned is the information relating to the last specified command. The only exception to this rule is the QPRINT command; it causes immediate printing of the "currently available" information. As an example of using batch commands, suppose you want to retrieve DASD free space information for all online DASD volumes and you want three different listings of the information sorted three different ways as indicated by the following three SORT commands: · SORT 4 D (sorted by free DASD extent count, descending) Here is an example of the JCL required to accomplish this:
In this case, the first QPRINT command would print the listing resulting from the first SORT command. The second QPRINT command would print the listing resulting from the second SORT command. There is no need for a third QPRINT command because, as a default, batch processing always outputs the results of the last batch command in the QWCMDSDD file. For more information on batch commands, see the section on "Batch Commands" in Chapter Three of the MVS/QuickRef User's Guide. Robert Norris is one of the developers of MVS/QuickRef and has over 25 years of programming and system design experience.
|
|
||||||||||||||||||||||||||
home · current
articles
· archives · forums · |