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 is JCL LIB ?
How I sort the records in a file and copy the first 10 records to another file
Definition of COND parameter in JCL
describe the exec statement,its meaning ,syntax and keywords?
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two
i have step1,step2,step3 from where can i start coding cond parameter ?
Name the system library from which modules are retrieved at execution
How to read records in reverse order in flat file?
Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
How can the disposition of sysout datasets be set for an entire jobstream?