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

Explain how can the submitting users racf authority be overridden in a job stream?

1115


Which dd parameters are required?

1168


Explain how can return codes be tested before execution of a job step?

1313


Is acct parameter mandatory?

1185


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2213


Can an individual step be restricted from using all the jobs allowed cpu time?

1537


How would you understand error(execution phase)?

1230


How do you overcome this limitation ?

1191


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1053


In job processing, what happens in conversion stage?

1176


What is condition checking in jcl? Is this possible?

1102


Matching Logic in Jcl not in cobol.Could any one please answer this question

4147


how JCL works?

1242


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1285


when does a dataset go uncataloged?

1287