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

I have 20 steps in a job... step01, 02....step17...step20.
For some reason I want to execute step17 only if the return
code for all the previous steps are less than or equal to 4.
otherwise if return code for any of the previous 16 steps
is greater than 4, then step17 should be bypassed. How do I
do that ?? how and in which step should i formulate COND
parameter

Answer Posted / shesha

COND paramater should be in the step17 only

//step17 exec ......COND=(4,LT)

This condition will skip step17 when the return code is
lessthan or equal to 4 of all the previous steps.
(do not give any step name in cond)

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a jcl to execute a job by 7:00 am on jan 20,1986?

1114


What are the difference between jcl and jes?

1612


In job processing, what happens in execution stage?

1204


Which statement is used to identify the private libraries in job?

1190


Is condition checking possible in jcl? If yes, how?

1292


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

4957


how would you create a temporary dataset? And where will you use them?

1406


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2567


how can you check if a file is empty using jcl?

1424


How can a fb file convert to vb file using sort program?

1340


How to submit jcl through a cobol program?

1150


What are s0c1, s0c4, s0c5, s0c7 and socb?

1176


How do you create a temporary dataset?

1186


Does jcl support automatic restart?

1236


which parameter is use to declare the name of dataset in dd statement?

1269