Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Ques: How can we code COND parameter in a JCL so that only
even steps (or only odd steps) get execute??

Answer Posted / muttaiah

I think in this way you can achieve your requirement.
For ODD steps:
Code cond=(0,LE) or cond=(4096, GT) on all Even steps.
For Even steps:
Give restart=step2 in job card,
Code cond=(0,LE) or cond=(4096, GT) on all Odd steps.

The reason why we are using cond=(0,le) or (4096,GT) is
The cond parameter work's in such a way that if the the
condition is true it will bypass the step on which it is
coded.
here (0,le) or (4096,Gt) is always true so the steps will
bypass(won't execute).

@All: Do correct me if i'm wrong.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens in conversion stage in job processing?

1194


what is the difference between JES3 and JES2?

1102


What is the significance of addrspc parameter in the exec statement?

1037


what JCL Procedures?

1215


How can unused space allocation be returned to the system when a dataset is closed?

1440


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2635


Is automatic restart possible in jcl?

1169


List the various advantages of using jcl language?

1412


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1103


I need exexution process for JCL programs

2253


What does a disposition of (new,catlg,keep) for a dsn mean?

1097


How would you understand error(execution phase)?

1205


What is use of restart and how to use it?

1279


What parameter of the job statement is used to limit the cpu time consumed by the job?

1246


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

1800