No David, I'm not sure, the only testing I've done was with the holduntil, looks like the jobgroup is required for the AFTER= statement by the looks of your working example
Carmen Vitullo ----- Original Message ----- From: "David Jousma" <000001a0403c5dc1-dmarc-requ...@listserv.ua.edu> To: IBM-MAIN@LISTSERV.UA.EDU Sent: Tuesday, February 5, 2019 10:05:46 AM Subject: Re: JES2 SCHEDULE statement Are you sure you have the syntax correct? Here is a jobgroup I actively use to run my z/os cloning jobs. I am at V2.3 however. //TESTG JOBGROUP ERROR=(RC>4),ONERROR=FLUSH //TESTA GJOB //TESTB GJOB // AFTER NAME=TESTA,WHEN=(RC=0) //TESTC GJOB // AFTER NAME=TESTB,WHEN=(RC<=4) //TESTD GJOB // AFTER NAME=TESTC,WHEN=(RC=0) //TESTG ENDGROUP //TESTA JOB '1 RST01A Init', // CLASS=X,MSGCLASS=T // SCHEDULE JOBGROUP=TESTG . . . . _________________________________________________________________ Dave Jousma Mainframe Engineering, Assistant Vice President david.jou...@53.com 1830 East Paris, Grand Rapids, MI 49546 MD RSCB2H p 616.653.8429 f 616.653.2717 -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Carmen Vitullo Sent: Tuesday, February 5, 2019 10:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: JES2 SCHEDULE statement **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** I'm running z/OS 2.2 @ RSU1805 level and one of my users is trying to use the JES2 schedule statement; from all the doc I found the AFTER=jobname should be valid @ 2.2 but they are getting a JCL error during testing, my test had the same results; 3 // SCHEDULE HOLDUNTL=('09:50','02/05/2019'),AFTER=joba 4 //A EXEC PGM=IEFBR14 STMT NO. MESSAGE 3 IEFC630I UNIDENTIFIED KEYWORD AFTER checking the KC looks like this should be valid, am I missing something? thanks Carmen ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL EMAIL** **DO NOT open attachments or click on links from unknown senders or unexpected emails** This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- 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