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 to identify where file is empty or not? How many ways are
there to identifying?

Answer Posted / bala

1) Use IDCAMS
SYSIN DD *
PRINT INDATASET(file name) COUNT(1)
gives RC 04 if the file is an empty file.

2)Compare the file with a known empty file using IEBCOMPR
utility. Comparing two empty files gives Nonzero RC

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do automated restart when a job abend?

1393


Explain how can a jobs execution priority be modified?

1206


How can an in-stream dataset be terminated?

1342


List the various advantages of using jcl language?

1458


State the uses of syspring, sysin, sort fields, sum fields and dummy.

1090


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

1389


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

1076


Can we use DISP=SHR in output file in JCL

1421


what is the JCL statement consists of?

1191


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5541


How do you create a temporary dataset?

1190


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2564


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2456


what is use of disp parameter in dd statement?

1102


Name a few IBM utility programs, and explain its function.

4980