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

What happens when you open an empty VSAM file in a COBOL
program for input?

Answer Posted / guest

A VSAM file that has never contained a record is treated as
unavailable. Attempting to open for input will fail. An
empty file can be opened for output only. When you open for
output, COBOL will write a dummy record to the file & then
delete it out.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what will happen when you try to open an empty vsam file in a cobol program for input?

989


what do you mean by define model parameter?

1079


what is the probability of a complete system distortion under high end low performing multiprocessor job?

2407


What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..

8691


What are the different commands used in idcams for vsam?

992


What is the purpose of relative record data set used in vsam?

1036


Explain the function of entry-sequenced data set?

973


name a few common vsam status codes?

992


What is a ci split? What is a ca split?

1118


Explain the significance of the shareoptions parameter?

943


what does a file status of 02 on a vsam signifies?

1119


What are the common vsam error conditions and codes?

1035


Is it slower if you access a record through alt index as compared to primary index?

977


what do you mean by a vsam split?

1015


what is a base cluster in vsam?

1083