Previous topic |
Next topic |
Contact z/OS |
z/OS MVS JCL Reference
The following example shows a simple IF/THEN/ELSE/ENDIF statement construct with a null ELSE clause.
The IF statement named IFBAD invokes procedure ERROR if either an abend has occurred on a previous step of the job, or STEP1 has returned a return code that is greater than 8. Otherwise, the system bypasses step TRUE, and the null ELSE clause passes to NEXTSTEP.
Copyright IBM Corporation 1990, 2014