Executing JCL steps in reverse order



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Executing JCL steps in reverse order

Postby soumyap03 » Fri Feb 01, 2008 6:45 pm

Can anyone please let me know how to execute JCL steps in reverse order??
soumyap03
 
Posts: 2
Joined: Fri Feb 01, 2008 6:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Executing JCL steps in reverse order

 

Re: Executing JCL steps in reverse order

Postby dick scherrer » Fri Feb 01, 2008 11:05 pm

Hello,

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

There is no command to run it "backwards".
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Executing JCL steps in reverse order

Postby soumyap03 » Mon Feb 04, 2008 12:36 pm

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:
soumyap03
 
Posts: 2
Joined: Fri Feb 01, 2008 6:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Executing JCL steps in reverse order

Postby dick scherrer » Mon Feb 04, 2008 8:35 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post