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 will happen if two JOB statements are mentioned in an JCL continuously.
What is the function of job statement in jcl?
how can the same proc be re-used and called by many jobs?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
how to eliminate the duplicates in sorting
How can the attributes of one sms dataset be copied to another dataset?
in ways data can be passed to a COBOL program from JCL?
What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?
can we give instream data in procedure
Is condition checking possible in jcl?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
What are the 4 fields in dd statement?