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

JCL Example: // //RUNJCL JOB CLASS=5,MSGCLASS=6,NOTIFY=&SYSUID //STEP01 EXEC PGM=IEFBR14 // .. .. If this JCL will run or it'll throw the ERROR?

4 Answers   HCL,


What do you understand by jcl?

0 Answers  


How are datasets concatenated?

3 Answers   CitiGroup,


how to resolve the soc4 error?

5 Answers   ITC Infotech,


What are the common jcl syntax errors you get? This is not abends?

1 Answers  






How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


What is the use of IEBGENER ?

2 Answers   Cap Gemini, Wipro,


How can we see data in TEMPARARY DATA SET in JCL ?

7 Answers   CSC, Polaris,


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


Categories