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

What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?

1 Answers  


Explain about LMCOPY -

1 Answers  


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

0 Answers   IBM,


in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths

1 Answers   DELL,


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

0 Answers  






How does jcl act on a cobol code?

0 Answers  


what is a jcl?

0 Answers   IBM,


what operation is performed by job statement?

0 Answers   IBM,


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


after submiting the jcl.how do you know that the job has been completed.

4 Answers   ACS,


I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it possible to control through JOB card?

5 Answers   iGate,


what is full form of AIX

3 Answers   Accenture,


Categories