How many times secondary space allocated?
Answers were Sorted based on User's Feedback
Answer / e s hudders
The answer is it depends. A VSAM file can have up to 123 extents in VSE and up to 255 in MVS. This is by component, that is index and data. Any time that a primary or secondary is allocated, VSAM can satisfy this request in up to 5 extents. Each extent counts towards the maximum. So, if for some reason you requested 500 cylinders and VSAM satisfied this request with 5 separate extents that total the 500 cylinders, then you have to subtract this number from the maximum allowed. The same applies to a secondary allocation. So, although in theory you could say that you could have the maximum allowed minus 1 (for the primary), in reality it could be less. Also, remeber that if you have multi-volumes allocated, you would get a primary allocation on the new volume when there is no space for the secondary on the current volume. This would not apply for a VSAM data set defined using SMS in MVS where you can request that the secondary allocation be applied to a new volume.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / satya
122 times in vsam as for exm: cyl(2 2) it means it takes 2tracks as primary and 5*122 times as secondary after completion of the first space in primary it goes for secondary for 1st time as on...up to 122 times
but in JCL cyl(2 2)---> 2+2*15 it takes 15times
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / k.pramod reddy
syn:
space allocated 1600 tracks
like that (100*1 + 100*15)---->(p.q,s.q)
so that, secondary space allocated 15 times
| Is This Answer Correct ? | 1 Yes | 3 No |
What is an alternate index and path ?
Suppose a generation of GDG gets created in a particular step of a proc. How would you refer the current generation in a subsequent step? What would be the disposition of this generation now?
What is the biggest disadvantage of using a vsam dataset?
How to rename one vsam file as well as it's index?
is it slower if you access a record through alternative index as compared to primary index?
Define free space?
How do you convert flat files to VSAM files ?
What is the Difference between LDS & ESDS ?
Can we copy a sequential file to a VSAM file ? If yes, What will happen of the size of the sequential file is bigger than that of the VSAM file?
explain in brief how are different versions of gdg named?
What is the purpose of the FILE STATUS clause in the SELECT statement?
On which dataset you can have alt index?