why do we use vsam file thn seqential files ?

Answers were Sorted based on User's Feedback



why do we use vsam file thn seqential files ?..

Answer / vijay

1)Record Insertion inbetween the existing recored is
poosible.
Where as in PS file we can add only at the end

2) we read record in any order
were as in PS it is possible to read from 1st , 2nd ,
3rd... like that

Is This Answer Correct ?    7 Yes 1 No

why do we use vsam file thn seqential files ?..

Answer / rajesh

ps files are stored in tape but esds cannot be stored in tape
and ps file cannot becreated alternate index but esds can be created

Is This Answer Correct ?    3 Yes 0 No

why do we use vsam file thn seqential files ?..

Answer / pramod reddy

ps files can created on tape.but not esds files.
alternate index can be created in esds.but not in ps.
records inserted in seq nd random.but in ps only seq.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VSAM Interview Questions

The first VSAM file V1 has 2 fields A and B . There is a DB2 file which has fields E and f. We need the fields A, B , E and F to another VSAM file called V2. Kindly mention the logic in procedure division in cobol..

2 Answers   Cap Gemini,


Using Alternate Indexes in Batch pgms: ?

2 Answers   IBM,


how can we convert esds to lds?

2 Answers  


What does a file status of 02 on a VSAM indicate?

1 Answers   IBM,


what do you mean by a shareoptions parameter (shr) in define cluster command?

1 Answers   IBM,


What is SHAREOPTS ?

2 Answers  


Explain the device independent method to indicate where a record is stored?

1 Answers  


What is IDCAMS? and what is the purpose of it?

4 Answers  


name the utility program closely associated with vsam?

1 Answers   IBM,


what are the different types of vsam files available? Explain them

1 Answers   IBM,


What is File Status in VSAM?

1 Answers   IBM,


During processing of a VSAM file, some system error occurs and it is subsequently unusable . What do you do ?

1 Answers  


Categories