there are 10 steps in jcl how to execute the steps from
step2 to step8 only
Answer Posted / suputhru
AAA BHAI LOOG, First understand the requirement.
1.we can't code COND=(0,LE) for first step.
here we can use COND=only,
2.for not execution of 9 and 10 use COND=(0,LE)
else direct answer: IEBEDIT utility.
Incude 2 to 8 stepnames.
ex:
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP001,STEP002,...STEP008)
/*
Similarly, we can use TYPE=EXCLUDE to exclude the steps from exec.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
is there any way to execute more than one proc in the same exec statement at the same time..?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is the difference between the positional and keyword parameters? Give examples.
How to alter the parameters for the existing gdg?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
How does jcl act on a cobol code?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the hierarchy levels in jcl?
What are the jcl procedures?
What is NOTCAT ?
In job processing, what happens in conversion stage?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What is the function of the steplib dd statement?
How do you create a temporary dataset?
How can unused space allocation be returned to the system when a dataset is closed?