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 u mean by include statement in JCL ?

3 Answers  


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

0 Answers  


Explain the function of dd disp parameter?

0 Answers  


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


How to skip first step of a job? Can we use COND on the first step?

3 Answers   iNautix,






What is COND=ONLY ?

2 Answers  


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

7 Answers   CSC, Polaris,


Can we write same stepname for one or more steps in on job ?

2 Answers  


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 ?

0 Answers  


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...

2 Answers   Satyam,


What is meant by S0C7 system abend code?

8 Answers  


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


Categories