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 |
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
What is the main function of linear dataset?
difference between vsam and database tables
can any one tell "in esds in what structure records will stored?"
what are s0c1, s0c4, s0c5, s0c7 abends?
Tell me how many alternate indexes you can have on a dataset?
in what type of vsam datasets can an alternate index be defined??
What is the index set?
explain how many ways you can load data in a vsam cluster?
What is free space?
What is a ci split? What is a ca split?