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
How can a jobs execution priority be modified?
Explain the jcl exec statement?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Is there any command to check wether the ps file is in sorted order?
Explain how can return codes be tested before execution of a job step?
how do you code a null statement?
Can we use DISP=SHR in output file in JCL
How can a fb file convert to vb file using sort program?
Explain how can the attributes of one sms dataset be copied to another dataset?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How is the record format of an output dataset specified?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
what is JCL?
Explain the function of a dd statement?