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 comp-1 and comp-2?

1225


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1161


Write the code implementing the perform … varying.

1054


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

2527


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1111


How can you get the ksds file records into your cobol program?

1091


What is rmode(24)

1130


What is the LINKAGE SECTION used in COBOL?

1522


How arrays can be defined in COBOL?

1206


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9093


How do you reference the fixed block file formats from cobol programs

1222


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4163


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

2098


What type of SDLC u followed? Why?

1994


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1322