> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Rashmi Nijaguni Mogali > Sent: Wednesday, April 12, 2006 1:17 AM > To: [email protected] > Subject: Job scheduling > > Hi, > > I need to schedule the execution of 26 jobs. > > This has to happen such that the 2nd job should start after the > successful execution of the 1st job, the 3rd after the 2nd and so on. > > Moreover the output of 1st job is the input to the 2nd job. > > How do I accomplish this using Clist? > > Any documents available on Clist would be most helpful. > > TIA, > > Rashmi
There is no such animal "built in" to z/OS or JES2. I am not very familar with JES3, but I think that "Dependant Job Control" will do this. The TSO bookshelf, which includes the books on CLIST and REXX is at: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IKJ4BK60 What I do is have all the JCL in a single PDS, each job in a separate member. The last step of job "n" does an IEBGENER to copy the PDS member of job "n+1" to the INTRDR. Something like: //SUBMIT EXEC PGM=IEBGENER,COND=(0,NE) //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //SYSUT2 DD SYSOUT=(*,INTRDR) //SYSUT1 DD DSN=my.pds(nextjob),DISP=SHR // -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

