What is the difference between PS file and VSAM file?
Answers were Sorted based on User's Feedback
Answer / ram
In physical sequential file records are stored in terms of
blocks,where as in VSAM files records are stored in
ControlInterval(C.I).
| Is This Answer Correct ? | 51 Yes | 3 No |
Answer / manjula
PS files can be created on tapes while the VSAM files
cannot. Also, VSAM files can have ALTINDX(alternate index)
while no such facility exists for PS files.
| Is This Answer Correct ? | 23 Yes | 3 No |
Answer / tanushree
Storage capacity of VSAM file is more than that of NON-Vsam file.
in VSAM if tale 1 trk => 1+1*122=123 extent allocation.
where as in NON-VSAM, for 1 trk => 1+1*15=16 extent allocation.
| Is This Answer Correct ? | 15 Yes | 0 No |
Answer / avinash kumar techrel
ps file is used for writing a program and storing data.but
vsam used only for storing data.ps file accessed
sequentially.but vsam accessed sequentially,randomlyand
dynamically.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / vivek
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.
| Is This Answer Correct ? | 7 Yes | 2 No |
What more info you should give in the DD statement while defining the next generation of a GDG?
can i see how many records does a vsam file have without browsing or without using file-aid? and same for ps file?
What does the KEYRANGES parameter in Define Cluster commend do?
what is the concept of AIX in vsam ????
If fspc(100 100) is specified does it mean that both the control interval and control area will be left empty because 100 % of both ci and ca are specified to be empty?
how can you copy to a vsam cluster?
What is an alternate index?
What is a lds (linear data set)?
Is CA(Control Area) is part of CI(Control Interval)
Create syntax for a VSAM file ?
How can you create a VSAM dataset? Can you write a JCL for it?
what is the meaning of each of the values in shareopts(2 3)?