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

How do you handle empty files in a JCL ?

Answer Posted / guest

Yes, we can handle empty file in JCL, there is utility
provided by IBM "UT939" ,eg //STEP1 EXEC PGM=UT939,
IF step1 return code is 4 then there is empty file and else
if return code is 0 (for non-empty file). We can handle
this with COND parameters whether to execute next step or
not if file is empty.
SUPPOSE WE DON'T WANT TO EXECUTE THEN
eg //STEP2 EXEC PGM=XXX,
COND=(4,EQ,STEP1)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How jcl is used for testing batch programs?

1230


Explain the jcl exec statement?

1100


What are the 4 fields in dd statement?

1206


how do you code a null statement?

1294


How to pass the parameter in parm using linkage section ? (syntax)?

1086


What is the use of symbol // in jcl?

1408


What is jcl in mainframe?

1150


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

4125


Describe the various parameters utilized in the creation of a gdg?

1114


what operation is performed by job statement?

1072


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1262


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

1206


How can the attributes of one sms dataset be copied to another dataset?

1368


which utility is used a dummy utility?

1405


what is use of dcb parameter in dd statement?

1255