View previous topic :: View next topic
|
Author |
Message |
wanderer
Active User
Joined: 05 Feb 2007 Posts: 199 Location: Sri Lanka
|
|
|
|
Hi,
I am executing a set of TSO commands in batch, using IKJEFT01. The step gives an RC > 0 only when the last command in the set gives error. If there is an error in a command that is in the middle, the step ends with RC = 0 because the last command ran OK.
Is there any way to have the IKJEFT01 step end with RC > 0 when any of the set of commands error out?
Hope it makes sense.
Thanks! |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
wanderer
Active User
Joined: 05 Feb 2007 Posts: 199 Location: Sri Lanka
|
|
|
|
Thanks Superk. That was informative.
I also found a WHEN clause,
e.g.
command1
WHEN SYSRC(= 0) command2 |
|
Back to top |
|
|
|