Re: Submit a series of jobs in order aft er the pre vious has completed
In reading the various posts in this thread it has occurred to me that the distinction between a job and a job step, always arbitrary, is particularly infelicitous here. Make each all of these jobs a step in a framing job; and JCL will then provide 1) unambigouus linear ordering of these steps and 2) all of the other control mechanisms you need (conditional truncation of the jobstep stream, alternative, condition-code driven execution of step k instead of step j following step i, conditional suppression of a subsequent job step, and the like). John Gilmore Ashland, MA 01721-1817 USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Submit a series of jobs in order aft er the pre vious has completed
Isn't there a 255 step limit? I regularly hit this problem with multi-step database backups/tape stacking type process. 2011/4/21 john gilmore john_w_gilm...@msn.com: In reading the various posts in this thread it has occurred to me that the distinction between a job and a job step, always arbitrary, is particularly infelicitous here. Make each all of these jobs a step in a framing job; and JCL will then provide 1) unambigouus linear ordering of these steps and 2) all of the other control mechanisms you need (conditional truncation of the jobstep stream, alternative, condition-code driven execution of step k instead of step j following step i, conditional suppression of a subsequent job step, and the like). John Gilmore Ashland, MA 01721-1817 USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- Wayne V. Bickerdike -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Submit a series of jobs in order aft er the pre vious has completed
Wayne Bikerdike is quite correct. In its discussion of the EXEC statement the JCL manual says: | A job can have a maximum of 255 job step. This includes the steps in any procedures the | EXEC statements call. Moreover, since the count is held (as an unsigned binary integer) in a single byte, the usual control-block overflow problem precludes increasing it simplistically. That said, 255 steps or linked jobs is enough, perhaps indeed too many, for such shenanigans. John Gilmore Ashland, MA 01721-1817 USA -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html