Joined: 14 Oct 2005 Posts: 1187 Location: Bangalore,India
What do u want to do after checking return code of STEP10 & STEP20 ?
If u want to execute step50 depending on returncode of 10 & 20 then below might be helpful.
m return code to be used in comparison
0 step ran successfully
8 an error exists (probable ABEND)
12 a serious error
16 a severe error
operator type of comparison to make
GT greater than
GE greater than or equal to
LT less than
LE less than or equal to
EQ equal to
NE not equal to
stepname name of the step whose return code is to
be used in the comparison (if stepname is not
used, the comparison is made to all preceding
return codes from all the preceding steps).