How can i execute 5th step without executing first 4 steps?
Answers were Sorted based on User's Feedback
Answer / vidhya
The above answer is correct if suppose you have some more
steps below and you dont want to execute them, then give
condition code like RESTART = STEP NAME, cond=(0,LE)in the
job card.
| Is This Answer Correct ? | 22 Yes | 3 No |
Answer / guest
We can execute the job from any step by skipping the
previous steps using restart condition.
for example:
To restart from 5th step we have to mention in the job card
as
RESTART=STEP5
| Is This Answer Correct ? | 17 Yes | 1 No |
Answer / satheesh
To Execute particular step, use IEBEDIT option.
Below Sample version
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=MYDSN.JCL(MEMBER),DISP=SHR
//SYSUT2 DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP5)
/*
//*
| Is This Answer Correct ? | 4 Yes | 0 No |
Can we use DISP=SHR in output file in JCL
Explain about User Information
How can a stopped job be started again?
Describe the DD statement, its meaning, syntax and keywords?
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
Explain about LMMFIND - find a library member
What 3 guidelines do we have to follow when concatenating DD statements?
What are the causes for S0C1, S0C4, S0C5, S0C7, S0CB abends ?
In job processing, what happens in execution stage?
Is it possible to define dd statements as you want?
What do you understand by the terms: joblib and steplib?
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes