Friday, December 9, 2011

What to do when u need to run job from override


If the requirement is to run a job from the override just once then put a "Y" in the field "USE-OVRD-LIB".
By doing this CA7 does the following:

·          Picks up the JCL from the override library for the next run only.
·          Resets the value of the field "USE-OVRD-LIB" to a "N".
·          Deletes the JCL from the override library.

-------------------------  CA-7 CPU JOB DEFINITION  --------------------------
FUNCTION: LIST     (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD)                   
JOB: GCIARDL1                                                                 
GENERAL:      SYSTEM: VISION   JOBNET:          OWNER:          UID: 61    
                                                                               
JCL:          ID: 255 MEMBER: GCIARDL1 RELOAD: N EXEC: Y RETAIN-JCL: N    
              LIB: &GCP                                                       
REQUIREMENTS: HOLD: N JCL-OVRD: N USE-OVRD-LIB: Y VERIFY: N MAINT: Y      
              SATISFACTION LEAD-TIME:  JOB: 0  DSN: 0  ARFSET:              
                                                                              
EXECUTION:    MAINID: ALL  INSERT-RMS: Y COND-CODE: 0    RO: LT             
              DONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000          
                                                                              
MESSAGES:     LTERM:          REQUIREMENT-LIST: Y PROMPTS: N                
              ERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: Y               
                                                                              
RESOURCES:    REGION: 2048 CLOCK-TIME: 0059 CPU-TIME: 00422                 
              CLASS:   PRTY: 000   MSGCLASS: S                               
              TAPE DRIVES...TYPE1: 000 M 001 C   TYPE2: 000 M 000 C           

                                                                             
PROGRAM: SM20   MSG-INDX: 00   -- DB.1     --   01.135 / 11:22:17             
MESSAGE: LIST SUCCESSFUL                                                      

This way we can just make the change once and forget about it (we don't need to reset the job to run from normal after the first run).

No comments:

Post a Comment