Adding a job schedule entry

 

The Add Job Schedule Entry (ADDJOBSCDE) command allows you to schedule batch jobs by adding an entry to the job schedule. You can use this command to schedule a batch job to be submitted once, or to schedule a batch job to be submitted at regular intervals. Command: Add Job Schedule Entry (ADDJOBSCDE)

Example: This command submits a job named CLEANUP every Friday at 11 p.m. The job uses job description CLNUPJOBD in library CLNUPLIB. If the system is powered down or is in the restricted state at 11 p.m. on Friday, the job is not submitted at IPL or when the system comes out of restricted state.
ADDJOBSCDE   JOB(CLEANUP)  SCDDATE(*NONE)
             CMD(CALL PGM(CLNUPLIB/CLNUPPGM))
             SCDDAY(*FRI)   SCDTIME('23:00:00')
             FRQ(*WEEKLY)   RCYACN(*NOSBM)
             JOBD(CLNUPLIB/CLNUPJOBD)

 

Parent topic:

Working with job schedule entries