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
what is JCL?
How jcl work to handle various input output file operations?
Brief description of inline procedure of jcl.
what is use of dsn parameter in dd statement?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain in DD statement what is the use of DCB parameter?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Explain about ISPF/TSO Commands
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Is their any limit for data sets?
what is DSN parameter and DISP parameter is used for?
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