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 are the different rules of SORT operation?

1202


How do we get current date from system with century in COBOL?

1429


How you can characterize tables in cobol?

1254


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

1260


When is inspect verb is used in cobol?

1314


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1275


Whats the difference between search & search ALL?

6666


What is amode(24)?

1299


What is a SSRANGE and NOSSRANGE?

1533


Can we redefine the field of x(200) to less than 200?

1431


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1608


Which mode is used to operate the sequential file?

1257


What are the access modes of START statement?

1329


explain sorting techniques in cobol program?

1246


How do u write test cases?

2111