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
In job processing, what happens in conversion stage?
How to override loadlib?
When space is allocated for an output dataset, what units can be used?
In job processing, what happens in execution stage?
Why block size is multiple of lrecl in jcl?
Explain the job statement in jcl?
Explain about LMFREE�free data set from its association with data ID
What do you understand by jcl?
What is the difference between run mode and addressing mode?
What are the parameters that are used in creating a gdg?
Explain about ISPF/TSO Commands
What is the use of symbol // in jcl?
What are the utility programs in jcl?
what are the statements that are not valid to be included in an include statement?
what is use of disp parameter in dd statement?