I know that when we use COND parameter as COND=(0,NE) in a step, the condition will be checked against return code of all the previous steps executed.
But my requirement is to check the return code of only the previous step and run the current step if that has a MAXRC NE 0.
I am not able to use STEPNAME.RC, it throws INVALID REFERBACK ERROR.
Can any body help me out on this.
FYI, I have tried the below syntaxes:
WAY 1:
// EXEC ...,COND=(0,NE,stepname)
WAY2:
// IF (stepname.RC EQ 0)
// . . . . . .
// ENDIF
// . . . . . .
// ENDIF