How do You skip a Step In JCL?

Answer Posted / steve holton

For an unconditional skip step, just remove it completely
from the job stream.

Otherwise, for conditional removal, you can use the COND=
stuff, which I consider to have "reverse logic" also, as
noted by one responder above. I think "reverse" because if
is notmal to think "If the RC is GT 8, SKIP, but the RC and
the "constant" (8, in this case) are backwards, so you have
to say "IF 8 LE RC, then skip to accomplish the same thing.

OR (and I prefer) JCL IF...ELSE ..ENDIF statements, which
uses more straightforward logic, analogous to the
IF/THEN/ELSE logic in programming languages (i.e. IF RC=0
THEN execute to the ELSE or ENDIF, else SKIP TO ELSE or ENDIF.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In job processing, what happens in conversion stage?

739


How to override loadlib?

1423


When space is allocated for an output dataset, what units can be used?

751


In job processing, what happens in execution stage?

698


Why block size is multiple of lrecl in jcl?

915






Explain the job statement in jcl?

653


Explain about LMFREE�free data set from its association with data ID

1006


What do you understand by jcl?

627


What is the difference between run mode and addressing mode?

635


What are the parameters that are used in creating a gdg?

739


Explain about ISPF/TSO Commands

1311


What is the use of symbol // in jcl?

924


What are the utility programs in jcl?

648


what are the statements that are not valid to be included in an include statement?

776


what is use of disp parameter in dd statement?

663