Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Steps to add a new Batch option to the PDF Batch Selection Panel z/OS ISPF Planning and Customizing GC19-3623-00 |
|
The steps required to add a new option to the Batch Selection Panel and the panel showing Job Step Generated are listed here.
You can also develop a new option that displays a lower-level selection panel, from which user selections invoke the Batch CLISTs. For example:
In this example, the CLIST ZNEWCMD has been selected, and the parameter ZCMD (the option entered on the panel) has been passed to the CLIST. ZNEWCMD can then use the SELECT service to display a lower-level selection panel similar to panel ISRJPA, but without job statement information. When the options have been processed, the CLIST should end and return control to ISRJB1 to close the temporary data set and submit the job to TSO. If JCL was generated the invoked dialog (CLIST or PANEL) must end with a return code of 0. If no JCL was generated the dialog must either end with a return code greater than 0 or set dialog variable ZADARC to a Y in either the ISPF SHARED or PROFILE pool. Note: If the Source Data Online field, variable ZDSCKO, is set to
YES, the dialog variables required for batch option panels are the
same as those for foreground processing. That is, variables PRJ1,
LIB1, LIB2, LIB3, LIB4, TYP1, MEM, DSN, and ZSEL must be defined in
either the )INIT, )BODY, or )PROC section of the panel displayed by
ISRJB2.
If the Source Data Online, variable ZDSCKO, is set to NO, these variables are not required. However, if a data set name is not supplied to ISRJB2 in these variables, the output variables ZDSQMEM, ZDSQ, ZDSQ2, ZDSQ3, ZDSQ4, ZDS, ZDS2, ZDS3, ZDS4, ZMEM, and ZORG are blank when control is passed to the CLIST referenced in variable ZSEL in the option panel. |
Copyright IBM Corporation 1990, 2014
|