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

//STEP17 EXEC pgm=aaaaa,
// COND=(4,LT)

this will execute only the step017. If the return code is
Zero for the previous step then 4 is not less than zero so
condition fails so it will execute this step

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when does a dataset go uncataloged?

1303


What are steplib and joblib? What for they are used?

1229


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

1266


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1318


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

4154


Explain the purpose of dd dummy statement?

1221


How do you create a temporary dataset?

1186


Give the syntax of job specifying jcl statement.

1147


Is condition checking possible in jcl?

1215


what is the resolution for sb37 error

9124


if the submitter of a job wants to inform another user about the job completion, how can it be done?

1248


what is the compile process of cobol program expalin with code

2586


what is the JCL statement consists of?

1191


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2470


In job processing, what happens in conversion stage?

1197