Answer Posted / 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 |
Post New Answer View All Answers
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output
What is the purpose of having vsam data space?
What are the different versions of gdg named?
explain how many ways you can load data in a vsam cluster?
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
what are the codes returned by the ams (access method services) command during the execution in vsam?
what do you mean by idcams? Explain its purpose?
what will happen when you try to open an empty vsam file in a cobol program for input?
Explain the function of entry-sequenced data set?
to use the rewrite command, how should the vsam file be opened?
how do you create an alternate index ?
What is a lds (linear data set) and what is it used for?
explain in brief why do vsam take more disk space than other utilities?
What is a lds (linear data set)?
What are the different dataset organizations used in vsam?