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

Explain the configuration section of a cobol program with examples of syntax.

1254


Write the code to count the sum of n natural numbers.

1252


What is difference between static and dynamic call in cobol?

1458


What is the difference between Global and External Variables?

1429


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1180


What are the rules of the move verb?

1318


What is an in line perform? When would you use it? Anything else you wish to say about it.

1137


What are the different data types in cobol?

1507


Have you used comp and comp-3 in your project? And how?

2520


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

1254


what is difference between cobol and cobol/400

23061


What are the different rules for performing sort operation?

1272


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1197


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2594


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2163