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

Document ID : KB000102405
Last Modified Date : 18/06/2018
Show Technical Document Details
Question:
How to list all  jobs set for restart in CA 11 and reset to production status?
Answer:
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  DSN=CAI.CA11.CAL7LOAD,            
//             DISP=SHR                                              
//         DD  DSN=DATACOM.CUSLIB,     
//             DISP=SHR                                              
//         DD  DSN=DATACOM.CAAXLOAD,   
//             DISP=SHR                                              
//CA11HELP DD DISP=SHR,DSN=CA11.CAL7CLS0(CA11HELP)               
//RMSRPT   DD SYSOUT=*                                               
//SYSUDUMP DD SYSOUT=*                                               
//SYSIN    DD *                                                      
(ARTS)MP         <--- Specify your site's profile                                        
LJOB *,SR                                                            
END 


As always, please contact CA Technologies support for CA Workload Automation Restart Options for
z/OS Schedulers if you have further questions.