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

Explain the purpose of the file status clause in the select statement?

1034


What is the biggest disadvantage of using a vsam dataset?

1199


Explain the biggest disadvantage of using a vsam dataset?

1095


explain the information contained in ci

1092


What is the function of linear dataset in vsam?

1119


How do you define an altindx?

1089


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

1093


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

2521


if you wish to use the rewrite command how must the vsam file be opened?

1206


there are seven idcams commands in vsam. Can you name and explain each of them?

1161


what is meant by dirty read in vsam?

1391


On which dataset you can have alt index?

964


name the utility program closely associated with vsam?

1107


What is a base cluste?

1178


Define gdg?

1032