How to list jobs set for restart in CA 11 and reset to production status
search cancel

How to list jobs set for restart in CA 11 and reset to production status

book

Article ID: 102405

calendar_today

Updated On:

Products

CA-11

Issue/Introduction



How to list all  jobs set for restart in CA 11 and reset to production status?

Environment

Release:
Component: AD

Resolution

The LJOB command can be used list which jobs are set for restart.   Specify * for the JOBNAME
field and for the  Option N/S field specify 'S'.   A valid profile will be required.  
Once the jobs that are set for restart are identified, the PRE command with processing 
code of 'P' can be used to set any of the jobs back to production status for the next run of
the job.  The LJOB command can also be issued in batch using the U11OBD sample job below:

                                                           
//BATCH         EXEC PGM=U11OBD                                           
//STEPLIB      DD DISP=SHR,DSN=CAI.CA11.CAL7LOAD                                              
//                     DD DISP=SHR,DSN=DATACOM.CUSLIB                                               
//                     DD DISP=SHR,DSN=DATACOM.CAAXLOAD                                               
//CA11HELP   DD DISP=SHR,DSN=CA11.CAL7CLS0(CA11HELP)               
//RMSRPT      DD SYSOUT=*                                               
//SYSUDUMP DD SYSOUT=*                                               
//SYSIN          DD *                                                      
<Your site's profile >                                       
LJOB *,SR                                                            
END