Save the definition of IDJOB3 and create IDJOB4, as explained in the following steps.
The Exit option window is displayed.
Because you are saving the job scheduling definition in a table that already exists (IDGS1), you should use the SAVE option, not the CREATE option.
The job scheduling definition is saved in the table. Because you bypassed the Table List screen when you entered the job scheduling definition, the entry panel is displayed.
You can now create JOB4 by specifying a new JOB name in the entry panel, as was done when you created IDJOB1 and IDJOB3, or by performing an Insert procedure in the Job List screen, as was done when you created IDJOB2.
Because JOB4 will be very similar to JOB2, you should use the Insert method. Before going to the Job List screen, however, you should first enter the Table List screen and select the table you want to use as a template for the new job.
The Table List screen is displayed.
The Job List screen is displayed for table IDGS1. It lists jobs IDJOB1, IDJOB2, and IDJOB3.
A new job scheduling definition is displayed. It contains several values found in IDJOB2.
The job scheduling definition appears as follows:
Figure 26 Job Scheduling Definition for job IDJOB4
  JOB: IDJOB4   LIB CTM.TEST.SCHEDULE                             TABLE: IDGS1
  COMMAND ===>                                                    SCROLL===> CRSR
  +-----------------------------------------------------------------------------+
    MEMNAME IDJOB4      MEMLIB   CTM.TEST.JCL
    OWNER   ID          TASKTYPE JOB    PREVENT-NCT2 Y DFLT  N
    APPL                                GROUP IDGRP2
    DESC    AUXILIARY JOB WHEN IDJOB3 ENDS NOTOK
    OVERLIB                                                   STAT CAL
    SCHENV                         SYSTEM ID                  NJE NODE    
    SET VAR
    CTB STEP AT         NAME            TYPE
    DOCMEM  IDJOB4      DOCLIB  
    ===========================================================================
    DAYS                                                          DCAL     
                                                                       AND/OR
    WDAYS                                                         WCAL
    MONTHS  1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y
    DATES
    CONFCAL                      RETRO N MAXWAIT 00  D-CAT
    MINIMUM          PDS
    DEFINITION ACTIVE FROM          UNTIL                     
    ===========================================================================
    IN       IDJOB3-END-NOTOK     ODAT
    CONTROL
    RESOURCE
    PIPE    
    FROM TIME         +     DAYS    UNTIL TIME      +     DAYS  
    DUE OUT TIME      +     DAYS    PRIORITY 00  SAC    CONFIRM 
    TIME ZONE:                                                  
    ===========================================================================
    OUT      IDJOB4-ENDED-OK      ODAT +
    AUTO-ARCHIVE            SYSDB           MAXDAYS      MAXRUNS
    RETENTION:  # OF DAYS TO KEEP      # OF GENERATIONS TO KEEP
    SYSOUT OP   (C,D,F,N,R)                                              FROM
    MAXRERUN     RERUNMEM                              INTERVAL       FROM
    STEP RANGE         FR (PGM.PROC)          .          TO          .
    ON PGMST          PROCST          CODES                               A/O
      DO
    SHOUT WHEN           TIME       +     DAYS     TO                  URGN   
      MS
  ======= >>>>>>>>>>>>>>>>>>> END OF SCHEDULING PARAMETERS <<<<<<<<<<<<<<<< =====
   COMMANDS: EDIT, DOC, PLAN, JOBSTAT                                    11.17.00
You can save the job using the following procedure:
The Job List screen is displayed.
The Exit option window is displayed.
This time, because you entered the Table List screen on the way to the job scheduling definition, the Table List screen is displayed.
Shown below is that section of the Job List screen for table IDGS1 that lists jobs IDJOB1, IDJOB2, IDJOB4 and IDJOB3.
Figure 27 Job List Screen
 JOB LIST     LIB: CTM.TEST.SCHEDULE                             TABLE: IDGS1
 COMMAND ===>                                                    SCROLL===> CRSR
 OPT  NAME ----- DESCRIPTION ---------------------------------------------------
      IDJOB1     THIS JOB MUST BE RUN BEFORE IDJOB2
      IDJOB2
      IDJOB4     AUXILIARY JOB WHEN IDJOB3 ENDS NOTOK
      IDJOB3     FISCAL RESULTS ON LAST FRIDAY OF MONTH
       
       
Parent Topic |