I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter
Answer Posted / shesha
COND paramater should be in the step17 only
//step17 exec ......COND=(4,LT)
This condition will skip step17 when the return code is
lessthan or equal to 4 of all the previous steps.
(do not give any step name in cond)
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
List the various advantages of using jcl language?
What is NOTCAT ?
what is use of dcb parameter in dd statement?
what happens in execution stage in job processing?
A dd statement consists of 4 fields. Name them?
What is timing concept in mainframe?
How do you access an uncatalogued dataset in a jcl?
Explain about ISPF/TSO Commands
Which statement is used to identify the private libraries in job?
What happens if both JOBLIB & STEPLIB is specified ?
How does jcl act on code(if you take a cobol program)?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
what operation is performed by job statement?
Is it possible to define dd statements as you want?
What is the difference between the positional and keyword parameters? Give examples.