A different approach is to add a additional step at or near the top that waits. 
I had a very short assembler program that called STIMER based on parm input.

> -----Original Message-----
> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On
> Behalf Of Charles Mills
> Sent: Sunday, March 19, 2023 5:06 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Scheduling a job to run after a delay
> 
> I am not a sysprog, but there is a system where I play sysprog. It is a very
> specialized z/OS LPAR and has no third-party scheduling software (and I don't
> think I really want to get into supporting a CBT freebie).
> 
> I do some very rudimentary scheduling -- running a couple of jobs once a day
> each -- using
> 
> $TAMTIC,T=08.00,I=86400,'$VS,''S RDR,DSN=etc.
> 
> For one of those jobs, if and only if it fails (RC > 0) then I would like to
> schedule it to run again in one hour.
> 
> I can // IF ( stepname.RC > 0 ) THEN submit the job via INTRDR, but if I do 
> that
> it will run right away. Can I somehow conditionally submit a JES2 command to
> run the job in an hour? What would that JES2 command be?
> 
> (Yes, I foresee that if the job failed repeatedly today and also again
> tomorrow I would have two submission loops running. I can deal with that.)
> 
> JES2, z/OS V2R3
> 
> Thanks!
> Charles
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to