| |
GeekInterview.com > Interview Questions > Mainframe > JCL
| Print | |
Question: calculate total space allocated for file
Answer: If file is having space parm as SPACE=(CYL,(10,10)) i.e. 10 primary, 10 secondary. So how much cylinders totally it will take before dataset filled till end? |
| April 04, 2009 16:57:27 |
#3 |
| dhs01 |
Member Since: April 2009 Total Comments: 24 |
RE: calculate total space allocated for file |
| Almost correct, VSAM and non-VSAM are important but equally important is whether the allocation is to SMS controlled dasd. Another factor to consider is that allocations can both get more and less than 10 cylinders. In some cases an extent will be combined with other extents depending on physically where the extents are. (ie you could get 6 allocations of 10 cylinders but it would be 1 extent...) Another factor is that you can use up to 3 extents to get either the primary or secondary quantity. (in this case you might only get 40 cylinders and be out of extents...). So the short answer is that you can't say without a lot more information. |
| |
Back To Question | |