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

Which dd parameters are required?

1119


Is their any set of rules for dd? Explain.

1105


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

2620


How do you create a temporary dataset?

1118


what happens in execution stage in job processing?

1089


What is the maximum length of a single line of jcl?

1291


which utility is used to sort a file in jcl?

1176


Why block size is multiple of lrecl in jcl?

1356


Explain how can the attributes of one sms dataset be copied to another dataset?

1161


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

1180


Explain how can a stopped job be started again?

1083


What is job control language?

1036


Is automatic restart possible in jcl?

1156


What is the purpose of dd dummy statement?

1409


What is the significance of addrspc parameter in exec statement?

1149