View previous topic :: View next topic
|
Author |
Message |
aakar
New User
Joined: 08 Apr 2008 Posts: 36 Location: mumbai
|
|
|
|
Hi ,
I am having a job which has the following Steps:
JS010 Program1(at PS020 which gives 0 or 100 )
JS020 PROGRAM2
.
.
.
.
.
JS130 Program 13 , COND = (100,EQ,JS010.PS020)
JS140 Program 14 , COND = (100,NE,JS010.PS020).
If JS020 abends and i restart from JS020 then both 13 and 14 get executed even if JS010 gave RC=0.
Don't understand this??? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello aakar and welcome to the forums,
Quote: |
If JS020 abends and i restart from JS020 then both 13 and 14 get executed even if JS010 gave RC=0.
Don't understand this??? |
That is just that way it works. . . The named step "does not exist" for the re-run, so the COND= cannot evalutate "true". From the JCL manual linked to via "IBM MANUALS" at the top of the page:
Quote: |
When a COND parameter on a step following the restarted step refers to a step that precedes the restarted step, the system evaluates the COND parameter as false |
You will do yourself a favor by becoming familiar with the manuals for the products/features you use. An immediate answer beats waitinig |
|
Back to top |
|
|
aakar
New User
Joined: 08 Apr 2008 Posts: 36 Location: mumbai
|
|
|
|
Thank you very much for the reply,it seems you are correct from msglog i can see that all steps referring to that step's return code have run. Can you please give me the exact manual name in which you found the Quote you have made. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
|