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 / vijay sankar
The purpose of the COND is to determine whether the step
should be executed or bypassed. If condition specified in
the COND parameter is true,the step is bypassed.
so if we use // COND=(4,LT) .....this step will never excute
use COND=(4,GT)which is correct
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
what happens in conversion stage in job processing?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the use of symbol // in jcl?
what are the types of abends that occur on job failure? And explain the possible causes of these
Explain how can the submitting users racf authority be overridden in a job stream?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Explain the function of the steplib dd statement?
Is it possible to define dd statements as you want?
What statement can be used to send data to another mvs jes3 node?
Can I share my data with other jobs? How?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What does a disposition of (MOD,DELETE,DELETE) mean ?
what is the JCL statement consists of?
what sort card you will use to copy the data from one dataset to another dataset?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u