In this parameter "SPACE=(CYL,(1,2),RLSE),VOL=(,,,3)“, what is the possible maximum space allocation for this dataset TEMP?
1st allocation: 1 cyl
2nd allocation: 2cyl * 3 = 7cyl
3,4,.....16 is the same of 2nd allocation, ie 7cyl * 14 = 98 cyl
so, maximum space is 1 + 7 + 98 = 106 cyl.
Joined: 06 Jun 2008 Posts: 8280 Location: Dubuque, Iowa, USA
There is a link to manuals at the top of the page. You would do well to click on it and spend time reading the manuals. If you did so, you would find the JCL Language Reference manual, which says in section 12.68.2:
Volume Count for Nonspecific Requests: If the request is for a nonspecific, public volume on a direct access device, the system ignores the volume count and allocates the number of volumes in the UNIT count subparameter.
So first, your VOL=(,,,3) is ignored.
Second, space allocation is per volume with a limit of 16 secondary extents per volume. So the first disk pack could have up to 1 + 2*15 = 31 cylinders of space.
Third, your unit count subparameter is 1 so multiple volumes will not be allocated.
Fourth, your math is completely wrong -- 7 cylinders would never be allocated for a secondary extent on this data set (only 2), even if there were multiple volumes allocated to it.
As an exercise, see if you can read the manuals and find out how space would be allocated on the second and third volumes (if you were using them) -- you might be surprised at the answer (hint: 7 is not it).