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
whats the diff bw the evaluate also and and?
What are steplib and joblib?
How to pass the parameter in parm using linkage section ? (syntax)?
Explain the hierarchy levels in jcl?
What parameter directs the output of the job log dataset?
When output dataset space is required, what quantity categories are used?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
What are the utility programs in jcl?
which utility is used to sort a file in jcl?
Explain the function of the steplib dd statement?
In job processing, what happens in execution stage?
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.
Can I send output of job to my remote device careerride123?
What does a disposition of (new,catlg,keep) for a dsn mean?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?