View previous topic :: View next topic
|
Author |
Message |
loga_nathan_m
New User
Joined: 07 Jun 2007 Posts: 40 Location: India
|
|
|
|
hi all,
i have my JCL containing below steps.
PS0010 EXEC PGM=IEBGENER
PS001A EXEC PGM=ABENDPGM,COND=(4,GE,PS0010)
PS0020 EXEC PGM=IEBGENER,COND=(4,EQ,PS0010)
PS002A EXEC PGM=ABENDPGM,COND=(4,GE,PS0020)
when step PS0020 is not executed because of condition code then PS002A should have get by passed. could you let the know how this can be implemented. |
|
Back to top |
|
|
loga_nathan_m
New User
Joined: 07 Jun 2007 Posts: 40 Location: India
|
|
|
|
when step PS0020 is by passed, then PS002A is getting executed and gives an abend, which should not happen.
Please guide me on this issue. |
|
Back to top |
|
|
ksk
Active User
Joined: 08 Jun 2006 Posts: 355 Location: New York
|
|
|
|
Code: |
PS002A EXEC PGM=ABENDPGM,COND=(4,GE,PS0020)
|
should be
Code: |
PS002A EXEC PGM=ABENDPGM,COND=(4,LE,PS0020)
|
in the later case, PS002A will be bypassed when Return code is greater than or equal to '4'. |
|
Back to top |
|
|
|