By seeing the file itself how can we identify whether it is
A vsam file or flat file

Answers were Sorted based on User's Feedback



By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / shweta

just do a 's'(data set information) in front of the file
name. Data class will have 'VSAM'. Also in 3.4, the volume
column will have 'VSAM'.

Is This Answer Correct ?    8 Yes 3 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / rajvee

VSAM file will have data file and Key file.
Flat file will have only data.

Is This Answer Correct ?    6 Yes 3 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / mr. cooooool

Hi...........Ananth.

I think it's installation defined.

In the right hand side of the file
it gives some info...like volume serial no.

we can change it to file type.


Thanks & Regards.

Is This Answer Correct ?    3 Yes 1 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / vijay kumar reddy

vsam consists of data and index

where as flat file only have data

Is This Answer Correct ?    2 Yes 0 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / mr. cooooool

Hi..............
Sweta & Rajeev.
Please read the question carefully.
He is saying 'By seeing the file we have to identify the
type of file'

It's mean we can't give any command.


I think it may possible through tools.

Thanks & Regards.

Is This Answer Correct ?    2 Yes 1 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / prameela

BY seeing file we can say whether it vsam file or flat file(PS file)
if VSAM file will have below things
KSDS
1.name of the file
2.In the name of the file last qualifier will have data as qualifier
3.will have word index as last qulifier in the name of the file
Esds,RRDS,LDS will have only 1 and 2 specified in the above
FLat file will have only name of the file

Is This Answer Correct ?    0 Yes 0 No

By seeing the file itself how can we identify whether it is A vsam file or flat file..

Answer / ananth

yes mr.cool is correct . i mean by seeing the file itself we should identify whether it is a vsam or qsam file. that means not
by using the commands.thank u swetha and rajeev.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More VSAM Interview Questions

How do you load a VSAM data set with records ?

2 Answers   IBM,


to use the rewrite command, how should the vsam file be opened?

0 Answers   IBM,


Explain the difference between lds and esds?

0 Answers  


what is the concept of AIX in vsam ????

1 Answers   HCL,


what is the drawback of vsam dataset?? a.execution slow. b.free space. c.independent storage device. d.none of the above. let me know the answer with reason.

4 Answers   Target,






How did you refresh a VSAM file and how frequently you do it ?

3 Answers   CSC, IBM, Patni, Xansa,


Do primary key values have to be unique? Do alternate key values have to be unique?

1 Answers  


How to rename one vsam file as well as it's index?

4 Answers   BEA,


Explain the function of entry-sequenced data set?

0 Answers  


Discuss record management in vsam?

0 Answers  


what is the use of reuse in vsam?

3 Answers  


What is the function of entry sequenced data set?

0 Answers  


Categories