Submitting a batch job to print a run cycle group

About this task

To submit a batch job to print a run cycle group, follow these steps:
  1. In the MAINTAINING DATA BASES panel, select option 10 RUN CYCLE.

    The SPECIFYING RUN CYCLE GROUP LIST CRITERIA panel is displayed.

  2. Enter the information that leads to the selection of the run cycle group(s) you are seeking and press ENTER.

    The LIST OF RUN CYCLE GROUPS panel lists the run cycle group(s) listed by your selection.

  3. Enter p in the row command space next to the run cycle group you want to print.
    The GENERATING JCL FOR A BATCH JOB panel (EQQXSUBP) is displayed.
    Figure 1. The GENERATING JCL FOR A BATCH JOB panel to print a run cycle group
    EQQXSUBP -------------- GENERATING JCL FOR A BATCH JOB ----------------
    Command ===>
    
    Enter/change data below and press ENTER to submit/edit the JCL.
    
    JCL to be generated for: 
    
    SYSOUT CLASS       ===> -           (Used only if output to system printer)
    LOCAL PRINTER NAME ===> ________    (Used only if output on local printer)
                                        (Used only if CLASS is blank)
    DATASET NAME       ===> ____________________________________________
                                        (Used only if CLASS and LOCAL PRINTER
                                        are both blank). If blank default name
                                        used is USER_NAME.SYSTEM_NAME.RGPRT.LIST
    
    SUBMIT/EDIT JOB    ===>             S to submit JOB, E to edit
    
    Job statement    :
     ===> //USER_NAME JOB ,,NOTIFY=USER_NAME_______________________
     ===> ___________________________________________________________________
     ===> ___________________________________________________________________
     ===> ___________________________________________________________________
  4. Optionally, enter:
    • The alphanumeric character that defines the output class for the job on the system printer.
    • The name of a local printer where you want to direct the output.

    If you would rather have the output stored in a data set, enter instead the name of the destination data set. A default name is provided for the job output by the system.

  5. Optionally, change the job statement displayed at the bottom of the panel.
  6. Enter S to submit the job, or E to edit the JCL via the ISPF editor.

    If you select E, an ISPF edit panel containing the JCL is displayed. After editing, enter SUBMIT to run the job directly from the edit panel. If you enter END or use PF3 from the edit panel, the job is not submitted. From the edit panel, you can save the job using the CREATE command. Note that the JCL for the job is not saved in the HCL Workload Automation for Z JCL repository. If the job needs to be rerun, you must re-create the JCL, unless you saved it with the CREATE command.

The job is submitted using TSO submit; as a result, the authority of the submitting user is assigned to the job.

You can also submit a single batch job to print several or all the run cycle groups in the database. Follow these steps:
  1. Start from panel SPECIFYING RUN CYCLE GROUP LIST CRITERIA to create a list of the run cycle groups of interest, using the asterisk (*) as a wildcard character
  2. Enter PRINTRG on the command line to display the GENERATING JCL FOR A BATCH JOB panel.
  3. In the panel, after entering your output-related preferences, enter E to edit the JCL.
  4. At the bottom of the JCL, after the SYSIN statement, leave the asterisk to print all the run cycle groups or use it in combination with partial run cycle group names to print selected subsets.