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 |
Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?
How do you restart a step in JCL?
GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?
what is the use of JCL?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
What do you do if you do not want to keep all the space allocated to a dataset?
Define concatenating?
What is the difference between primary and secondary allocations for a dataset?
What are isolation levels? Where do we need to specify them in compiling JCL?
What are the 2 types of parameters in dd statement?
what is use of dsn parameter in dd statement?
What is one line to pass PARM from JCL to COBOL?