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
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What are s0c1, s0c4, s0c5, s0c7 and socb?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
what happens in execution stage in job processing?
What does a disposition of (MOD,DELETE,DELETE) mean ?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Can an individual step be restricted from using all the jobs allowed cpu time?
Explain the function of dd disp parameter?
Is it possible to left uncode disp?
How can the attributes of one sms dataset be copied to another dataset?
How would you understand error(execution phase)?
Name what parameter directs the output of the job log dataset?
What is jcl in mainframe, and how many types of jcl statements are there for a job?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?