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??

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / vinodh

Your answer is correct!!

Is This Answer Correct ?    2 Yes 1 No

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

Answer / muttaiah

Thanks much vinodh, The person's who mentioned as "No" can
you people give an explanation why is it so?
Because i want to know whether what i told is correct or
not.
From my perspective whatever i told is 100% damn correct.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Explain the purpose of dd dummy statement?

0 Answers  


What is a GDG

4 Answers   IBM,


Can we give two user name in NOTIFY parameter in JOBCARD

1 Answers   Syntel,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


What does S0C4 error mean?

8 Answers  


Whats error code s222?

7 Answers   Patni,


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


How to do automated restart when a job abend?

0 Answers  


what is the function of spool command?

4 Answers  


We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?

2 Answers  


What is the function of a dd statement?

0 Answers  


What does the TIME parameter signify ? What does TIME=1440 mean ?

6 Answers   Accenture, TCS,


Categories