I have a JCL with 100 steps. I want run the Alternate steps
in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this
scenario? If It is by Cond Parameter can you provide the
Condition code for that?
Answer Posted / alla srikanth
small change*** no need to mention cond=EVEN on on job
statement
specify restart=step2 on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.
for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)
hence begin at step2 and odd no steps are bypassed i.e even
steps are executed
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
Is it possible to code instream data in a PROC?
what is the JCL statement consists of?
Are there any set of rules for the names of the steps used in a job? What are they?
What is the function of a dd statement?
What are steplib and joblib? What for they are used?
What is the function of job statement in jcl?
Explain about LMFREE�free data set from its association with data ID
Is it possible to define dd statements as you want?
Is it possible to left uncode disp? If yes, how?
Explain the function of a dd statement?
how can the same proc be re-used and called by many jobs?
How would you understand error(execution phase)?
How can an in-stream dataset be terminated?
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 use of restart and how to use it?