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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the process in which flat files are converted into vsam files?

565


Why is it required to have a keyed directed retrieval?

566


Explain what are the optional parameters to the input dataset while loading the empty cluster with the data records?

621


What is a base cluste?

614


explain how can you initialize a vsam file before any operation?

665






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

594


explain how many ways you can load data in a vsam cluster?

592


What is the main purpose of having user catalog in vsam?

580


name the utility program closely associated with vsam?

583


Explain the significance of the shareoptions parameter?

539


Can you delete vsam files with the delete option of the disposition parameter of jcl?

666


how many buffers are allocated to vsam ksds and esds?

721


Why is master catalog used in vsam?

582


What is a ci split?

560


what is the purpose of the verify function of idcams?

604