in a series of 10 steps, i need to run only 1,3,5,7 & 9th
steps only. how do u code?
Answers were Sorted based on User's Feedback
Answer / jagan mohan
by using iebedit utility and specifying required steps in controlcrds we can execute it.
Is This Answer Correct ? | 9 Yes | 0 No |
Answer / paray2x
You need to know what return codes Steps 1,3,5,7 and 9 will
give if they execute successfully. Based on that, you can
code COND parameter in STEPS 2,4,6,8 and 10 to bypass them.
This will help if you do not have IEBEDIT.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / swathi
//Jobname
//step1 exec pgm=iebedit
//s1
//s2
//s3
.
.
.
//s10
//sysin dd*
start jobname type = include(s1,s3,s5,s7,s9)
/*
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / vinay sonar
//STEP1 EXEC PGM=IEBEDIT
//SYSIN DD*
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3,STEP5,STEP7,STEP9)
/*
Is This Answer Correct ? | 1 Yes | 0 No |
What u mean by include statement in JCL ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Explain the function of dd disp parameter?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
How to skip first step of a job? Can we use COND on the first step?
What is COND=ONLY ?
How can we see data in TEMPARARY DATA SET in JCL ?
Can we write same stepname for one or more steps in on job ?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
What is meant by S0C7 system abend code?
When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).