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

Suppose i have 2 steps in my pgm. Step1- creates a file,
Step2 - generates report from file in step1, What changes
have to be made in Step2, so that if the file in Step1 is
empty Step2 should not be executed? No changes to be made to
Step1.

Answer Posted / vinay sonar

If file is empty you will get return code 4.
So put always true confition COND=(4,EQ) in step2.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Brief description of inline procedure of jcl.

1194


Must tape dataset definitions include vol=ser specifications?

1667


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

1208


What do you understand by the term job time – out and how can you overcome that?

986


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

1143


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

1439


What is jcl in mainframe?

1155


How to submit jcl through a cobol program?

1112


For what purpose steplib and joblib are used ?

1087


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

1158


What is job control language?

1044


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2400


Is it possible to left uncode disp? If yes, how?

1142


Can I share my data with other jobs? How?

1038


Explain the function of dd name parameter with a 2 part structure; audit.report?

1412