Specifying JCL options in batch mode


When you run a job in batch mode, the Batch Job panel is displayed. Use the following panel to specify JCL options before executing a job in batch mode.

 Batch Job panel

PSSPB000 -------------------------- Batch Job ---------------------------------
Command ===>                                                                   
                                                                              
                                                                              
Specify a partitioned (include member) or sequential JCL data set.             
                                                                              
JCL Data Set . . . 'RDAGXR.SQLXPLR.CNTL(SQLX####)'                             
Current Counter    652   (Replaces #### in member name, then incremented)      
                                                                              
Set JCL Options    N     (Y/N - Change options for creating JCL)               
Build Job  . . . . Y     (Y/N - Create JCL, save in JCL data set)              
Edit Data Set  . . Y     (Y/N - Edit JCL data set)                             
Submit . . . . . . N     (Y/N - Submit JCL data set)                           

To specify batch JCL options

  1. In the JCL Data Set field, specify the data set to which the product writes the generated JCL.

    You can type the name of a partitioned or sequential file, or you can specify the TEMP keyword. If you specify TEMP, the product  uses the data set specified in ZTEMPF.

    Important

    If the Allocate Data Set panel is displayed during this procedure, provide allocation information as discussed in Allocating a data set for a specific job.

  2. In the Current Counter field, type any value from 1 through 9999 to replace the '####' suffix in the PDS member name.
  3. (optional) In the Set JCL Options field, specify Y to review or change options for creating JCL.
  4. In the Build Job field, specify whether to generate the JCL into the data set that you specified in the JCL Data Set field.

    Important

    After you build and edit the JCL the first time, an asterisk (*) is shown in both the Build Job and Edit Data Set fields to ensure that you do not accidentally regenerate and write over your existing JCL.

  5. In the Edit Data Set field, specify whether to edit the data set online.

    If you specify Y, the JCL is displayed in an ISPF edit session.

  6. In the Submit field, specify whether to submit the JCL for execution.

    We recommend that you specify N the first time the Batch Job panel is displayed. After the product  generates the JCL, make any necessary changes to your data set. When the Batch Job panel is displayed again, specify Y in the Submit field to execute the JCL.

  7. Press Enter to complete the actions that you specified.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*