Page 1 of 1

Executing JCL steps in reverse order

PostPosted: Fri Feb 01, 2008 6:45 pm
by soumyap03
Can anyone please let me know how to execute JCL steps in reverse order??

Re: Executing JCL steps in reverse order

PostPosted: Fri Feb 01, 2008 11:05 pm
by dick scherrer
Hello,

JCL executes from the "top" to the "bottom".

There is no command to run it "backwards".

Re: Executing JCL steps in reverse order

PostPosted: Mon Feb 04, 2008 12:36 pm
by soumyap03
Thanks Dick, I would like to know, is there a way we can run the steps in any desired order atleast so that we can run it in reverse order???
:roll:

Re: Executing JCL steps in reverse order

PostPosted: Mon Feb 04, 2008 8:35 pm
by dick scherrer
Hello,

You might want to read the documentation on a utility named IEBEDIT. It may or may not let you do what you want to do. Trying to run jcl "out of order" often causes more problems because of condition code testing and referbacks. It is far more straight forward to create a new set of jcl to meet the required sequence of execution.