Interview Questions   Tutorials   Discussions   Programs   Discussion   

VSAM - What is the difference between PS file and VSAM file?




1215
views
asked mar August 24, 2014 12:22 PM  

What is the difference between PS file and VSAM file?


           

1 Answers



 
answered By Mswami   0  
VSAM files are used when we want to store data based on some key fields(Eg: KSDS)access method is indexed.NON VSAM files like PS are used when we want to store data which is not unique and also the access is sequential.

In VSAM files records are stored in control intervals where as in FLAT files records are stored in blocks.

FLAT files are sequential read . VSAM files can sequential and random read.

In VSAM access is fast because of organization of records.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert