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

) how do u code after getting data?

2089


how do you define single dimensional array and multidimensional array in your cobol?

1054


What are the different rules for performing sort operation?

1159


What do you understand by psb and acb?

1069


What is the use of intialize verb?

1190


Mention the guidelines to write a structured cobol program?

1036


What are the pertinent COBOL commands?

3110


Define cobol?

1318


Differentiate between structured cobol programming and object-oriented cobol programming.

1088


how do you reference the fixed unblock file formats from cobol programs

1180


What are the access modes of START statement?

1198


how to move the records from file to array table. give with code example

2634


How do u write test cases?

2020


What is the difference between PIC 9.99 and PIC9v99?

1291


What are various search techniques in cobol? Explain.

1032