Suppose there r total 10 steps. Out of which i want to
execute only the 7th step. How can i do that....????

Answers were Sorted based on User's Feedback



Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do tha..

Answer / mithun suresh

Give COND=(0,LE) in the jobcard. By this only the 7th step
will be executed. No need to change any other statements in
JCL.

//jobname JOB (abcd),CLASS=B,MSGCLASS=J,
// RESTART=STEP7,COND=(0,LE)

Is This Answer Correct ?    6 Yes 7 No

Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do tha..

Answer / vatsa

In the job card mention the restart step name as

//jobname JOB (1234),class=a,msgclass=x,restart=step7
// notify=&sysuid.

Is This Answer Correct ?    1 Yes 2 No

Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do tha..

Answer / shailendra

in job statement put restart=7th step name

and
in 8, 9,10th step cond=(0,GE)

else
in job statement put restart=7th step name
comment for remaining step

i think both will work

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More JCL Interview Questions

which are the parameters mandatory in job card ?

4 Answers   Accenture,


Name the parameters which can be used to limit the number of records written to a sysout dataset?

0 Answers  


what is check pending option

1 Answers   Fujitsu,


SORT card to eliminate duplicity.

1 Answers   Syntel,


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  






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

5 Answers   ADP,


A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


How to copy VSAM files without using REPRO

3 Answers   ADP,


What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


In SPACE,what is directory,RLSE

6 Answers   TCS,


Categories