Multiple choice technology mainframe

Calculate total space allocated for file if file is having space parm as SPACE=(CYL,(10,10))

  1. 20

  2. 100

  3. 160

  4. 110

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In mainframe JCL, SPACE=(CYL,(10,10)) allocates 10 primary cylinders and 10 secondary cylinders. Total space = primary + secondary = 10 + 10 = 20 cylinders.

AI explanation

SPACE=(CYL,(10,10)) requests space in cylinders: the first subparameter (10) is the primary allocation, the second (10) is the secondary allocation (used for one additional extent if the primary fills up). Under the standard convention used in these training questions, 'total space allocated' is taken as primary + one secondary extent = 10 + 10 = 20 cylinders. 100 and 160 don't correspond to any straightforward combination of the given values, and 110 miscombines units. So 20 is the intended answer, though in real z/OS the secondary extent is only actually allocated on demand, not guaranteed up front.