z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Summary of COND parameters

z/OS MVS JCL Reference
SA23-1385-00

Table 1. Bypassing or Execution of Current Step Based on COND Parameter
  Test in COND parameter Return Code (RC) from a previous step
Bypass current step Execute current step

COND=(code,GT)

code <= RC

code > RC

COND=(code,GE)

code < RC

code >= RC

COND=(code,EQ)

code ^= RC

code = RC

COND=(code,LT)

code >= RC

code < RC

COND=(code,LE)

code  RC

code <= RC

COND=(code,NE)

code = RC

code ^= RC

Note: When the COND parameter does not name a previous step, the system tests all previous steps. If any test is satisfied, the system bypasses the current step.
Table 2. Effect of EVEN and ONLY Subparameters on Step Execution

EVEN or ONLY
Specified?

Any Preceding
Abend?

Any Tests
Satisfied?

Current Step
Execute?

EVEN
EVEN
EVEN
EVEN

No
No
Yes
Yes

No
Yes
No
Yes

Yes
No
Yes
No

ONLY
ONLY
ONLY
ONLY

No
No
Yes
Yes

No
Yes
No
Yes

No
No
Yes
No

Neither
Neither
Neither
Neither

No
No
Yes
Yes

No
Yes
No
Yes

Yes
No
No
No

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014