The SWAMI
of VSE/VSAM

 

Space Allocation Questions and Answers
How can I predict the number of Control Intervals within a Control Area (CA)?

First, we have to know what goes into Control Areas (CAs).

VSAM Data Control Areas contain:

Loaded Control Intervals
Logical records are loaded into a CA beginning at its left (or low addressed) end.
Free Control Intervals
We can calculate the number of CIs within a CA that will be left free at load time if we know the number of CIs in the CA and the CA Freespace percentage.
 
NumFree = Ceil(CISinCA * CAFRSPC%)
 
Where:
NumFree  == Number of CIs not initially loaded
Ceil     == function that returns the integer value rounded up
CISinCA  == Number of CIs in the CA
CAFRSPC% == Defined CA free space percentage
 

To determine the number of CIs in a CA, you first need to know the CA Size.

The CA Size is the smallest of:

  • The primary space allocation amount
  • The secondary space allocation amount
  • The size of one cylinder

If allocations are specified in cylinders, or (in VSE's implementation) if the amount of track or record allocations (both primary and secondary amounts) are at least the size of one cylinder, then the CA size will be one cylinder.

You need to know the physical characteristics of the disk device being used (or simulated, in the case of virtual disks or Multiprise Internal Disk subsystems). For example, a 3390 device contains 15 tracks per cylinder, with room on each track for:

  • 2 26KB CIs
  • 6 8KB CIs
  • 12 4KB CIs
and so on. For details about the number of CIs that can be contained on one cylinder (the maximum CA size), you can refer to the VSE/VSAM User's Guide manual... or look at this link (not yet working...)

   
 
Up to the
Q and A
Page
Up to the
Allocation
Q and A Page
E-Mail
The Swami
Go to
The Swami's
Home
 

This entire site -- including all its pages and content --
are the intellectual property of and copyright © 2002-2003 by
Dan Janda, theswami@epix.net