I have 5 steps in my job. say s1, s2, s3, s4, s5
//s1 exec .............

//s2 exec ............

//s3 exec ..........

//s4 exec ........

//s5 exec ...............

my question is i want to exeute only s2 and s4 steps...
please advice me how to do this:

Answer Posted / sanvz

the best way to acheive this
restart = step2 and code in step 3 cond as 0,eq
and after step 4 add null stmt

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1358


Explain the job statement in jcl?

653


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1623


What is one line to pass PARM from JCL to COBOL?

927


How to run cobol program using jcl?

660






What is concatenating?

639


Is acct parameter mandatory?

764


if the submitter of a job wants to inform another user about the job completion, how can it be done?

760


What is the use of disp parameter?

653


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?

1811


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1959


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

811


How is the record format of an output dataset specified?

749


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1630


How would you understand error(execution phase)?

635