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 does the keyranges parameter in define cluster command do?
What is the purpose of the FILE STATUS clause in the SELECT statement?
why ci and ca splits are not possible in esds and rrds?
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 do you mean by the cobol record key clause in vsam?
explain how do you define a gdg in vsam?
What are the advantages of vsam over isam?
what will happen if there is no secondary allocation made for datasets?
1. delete is not possible in esds. why? 2. i have 10 records in a esds file and i want to delete only 1st record ..then what i have to do?.. it will not affect any sequence of the RBA. 3. why open extend is not possible in rrds vsam file?
what are the additional information you should give in the dd statement while defining the next generation of a gdg?
Hi, I want to create alternate index on VSAM file.my file structure is ex: RoomID pic x(7) R000001 Floor pic a((6) First RoomNo pic x(2) FA1 Occupied(yes/no) pic a(3) Yes Occupied Batch pic x(10). Maths i want to create alternate index on floor,roomno fields.can i create alternate index on both the fields.and tell me how to create.
What is the utility program closely associated with VSAM?