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 find whether a Flat file is empty or not without
Reading a file in COBOL Program. (not using JCL)

Answer Posted / renu

Open the file and check the file code. If it is '10', the file is empty. It is always better to check the file code after every open statement and handle the empty file condition.

Is This Answer Correct ?    10 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Pic 9v99 Indicates in COBOL?

1178


What is static and dynamic call in cobol?

1002


In which area will you utilize 88 level items in cobol?

1096


Name the divisions, which are available in a cobol program?

1168


what is search and searchall?what is the diffrence between them?give an best example?

6665


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324


What is the utilization of copybook in cobol?

1114


What are declaratives and what are their uses in cobol?

1132


Define static linking and dynamic linking.

1108


Why would you use find and get rather than to obtain?

1121


What are the various section in data division and briefly explain them.

1109


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5315


Write a cobol program making use of the redefine clause.

1120


what is the use of outrecord?

2152


Write some characteristics of cobol as means of business language.

1078