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

Explain the function of //jcllib statement?

1229


what is SOC4 error?

1238


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1236


What is timing concept in mainframe?

2214


What is the format of comment statement?

1228


In sms datasets, what is the function of the dd avgrec keyword?

1101


Explain the function of dd disp parameter?

1130


What is the function of the dd avgrec keyword in sms datasets?

1345


What do you understand by the term notcat 2 – gs?

1245


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1551


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

4156


Explain the function of the steplib dd statement?

1142


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1288


which parameter is used to check the syntax of a jcl without executing it?

1363


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1302