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...

File status must be checked both while opening and reading
the file or only while reading the file?

Answer Posted / nagaraj ramamoorthy

As a good programming practice, it will be good if you
handle/include all possible error combination in the
program. so the file status must be checked in both cases.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IF I mention stop run in CICS what happens?

2303


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1111


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2078


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2076


What is rmode(any) ?

1180


Explain what you understand by passing by value.

1097


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

1025


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1509


How many bytes S(8) comp field occupy and its maximum value?

2084


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

1090


Which division and paragraphs are mandatory for a COBOL program?

1191


) How do u handle errors in BMS macro?

1905


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

2424


Write a program to enter and display the names of students in a class using the occurs clause.

1152


Describe the cobol database components?

1125