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



in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?..

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

in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?..

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

in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?..

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

in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?..

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

in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?..

Answer / venu

if u give cond=only, it also do the same

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

What is JCL LIB ?

3 Answers   Xansa,


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


Definition of COND parameter in JCL

5 Answers   TCS,


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  






why jobstep can't be more than 255 and for GDG has max limit 255 . Is there any relation between the two

1 Answers   IBM, Perot Systems,


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


Name the system library from which modules are retrieved at execution

2 Answers  


How to read records in reverse order in flat file?

1 Answers  


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 ?

3 Answers  


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?

2 Answers  


How can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


Categories