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

Hi, all
suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if
cond is true or false (which of the other steps get executed)?
1) //s3 exec pgm=abc,cond=(0,le)
2) //s3 exec pgm=abc,cond=(0,le,step2)
3) In the jobcord RESTART=step3,cond=(0,le)
4) can i code COND=TRUE in jobcard, if yes what will happen?

Answer Posted / nishant singhal

Muttaiah you have explained very well but i have one doubt
here...

for these below 2 questiones

1) //s3 exec pgm=abc,cond=(0,le)
2) //s3 exec pgm=abc,cond=(0,le,step2)

cond=(0,le) should check return code from previous step ie
s2 because if you are not giving any step in your cond
parameter then by default it will check return code from
its previous step and it will work like same as mentioned
in question 2.

Please correct me if i am wrong and let me know how it will
look for all the previous steps ie s1 & s2.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass data to a program that is coded in an exec statement?

1271


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1196


what is DSN in JCL and what are the parameters to declare the DSN?

1148


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2644


Give the syntax of job specifying jcl statement.

1088


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

1018


Is acct parameter mandatory?

1148


how to do automated restart when a job abends?

1340


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

1126


What is the significance of addrspc parameter in the exec statement?

1017


Is their any set of rules for dd? Explain.

1103


What is the difference between the positional and keyword parameters? Give examples.

1191


Where & How Do You Code Identifier In Jcl?

1212


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

1306


what is use of space parameter in dd statement?

1216