Friday, December 9, 2011

How to put hold on job


There are two ways to put a hold on the Job in CA-7. One is through the "JOB" command and the other is through the "JOBCONN" command.
It is always preferable to put a hold through the "JOBCONN" command as we can add some information as to why the job is on hold and whom should be contacted before releasing the hold.

Method I:

Type "Job" on CA7.
Type the job for which the hold needs to be put.
Put a "Y" on the field "Hold".


FUNCTION: UPD     (ADD,DELETE,DD,DELPRRN,FORMAT,LIST,UPD)                   
JOB: GDBARDL1                                                                  
GENERAL:      SYSTEM: GDB      JOBNET:          OWNER:          UID: 61    
                                                                              
JCL:          ID: 255 MEMBER: GDBARDL1 RELOAD: X EXEC: Y RETAIN-JCL: N    
                 LIB: &IGC                                                       
REQUIREMENTS: HOLD: Y JCL-OVRD: N USE-OVRD-LIB: N 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: 0021 CPU-TIME: 00147                 
              CLASS:   PRTY: 000   MSGCLASS: S                               
              TAPE DRIVES...TYPE1: 000 M 000 C   TYPE2: 000 M 000 C           
                                                                               
PROGRAM: SM20   MSG-INDX: 00   -- DB.1     --   01.130 / 13:41:19             
MESSAGE: UPD SUCCESSFUL                                                      







Method II:

Type "JOBCONN,USR" in the command line in CA7.

Type "List" in function and the "JOB name" in "PRED FOR JOB" field. This will list all the jobconn holds that are active for this job.

Type "UPD" in function and the "JOB name" in "PRED FOR JOB" field. Then type "A" in "OPT" and  the comments indicating the reason for the hold in the field "*--- MEMO-FORM USER PREDECESSOR ---* ".

---------------------  CA-7 USER MEMO-FORM PREDECESSORS  ---------------------
FUNCTION: UPD      (FORMAT,LIST,UPD)                                PAGE 0001
PRED FOR JOB: GDBAROL1                      LIST-SCHID:                       
OPT SCHID    *--- MEMO-FORM USER PREDECESSOR ---*  NEXT-RUN                   
    A       CICSGD0 AROC FIRST OPTION                YES                     





If you want to hold a Job which has already in CA-7 queue

In the event that you are unable to perform a JOBCONN hold,  try this

In CA7 type this command

ADDRQ,JOB= jobnumber, USR=comments

No comments:

Post a Comment