View previous topic :: View next topic |
Author |
Message |
priyaranjan.mishra Beginner
Joined: 21 Jan 2008 Posts: 17 Topics: 9
|
Posted: Mon Apr 27, 2009 1:09 am Post subject: Running multiple jobs using single JCL |
|
|
I have a scenario wherein I have to run a cycle of more than 20 jobs in sequence. But the condition here is that before executing the next JCL, the return code for the previous JCL should be verified and only if it is <=4, the next JCL is executed. I tried it using IKJEFT01 but it will run all the JOBS irrespective of the return codes.
Any help on this is highly appreciated. |
|
Back to top |
|
|
mainframemouli Beginner
Joined: 23 Feb 2005 Posts: 87 Topics: 33
|
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Mon Apr 27, 2009 12:45 pm Post subject: |
|
|
If you had searched you would have found a post by me which I reproduce here:
Quote: |
I have a little thing I use: I have a dataset that describes the job relationship and then each job, before ending, executes a Rexx exec that queries that dataset and submits any jobs that are ready to rock'n'roll. Allows multiple predecessors / sucessors. It is quick and dirty but does the job - so to speak
|
_________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
|
|