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 |
What does IEBGENER do?
How can the attributes of one sms dataset be copied to another dataset?
what happens if job falls in loop ? how to resolve it ?
Explain how can return codes be tested before execution of a job step?
WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.
Can a job have only steplib and no joblib ?
Can we use two or more SYSPUNCH DD statements in a JCL for multiple unload (SYSREC00 & SYSREC01)..?
List the different components of jcl statement?
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?