Locate Free Space

You can use the Space Calculator to locate volumes and storage group with adequate free space for your tablespaces and indexspaces. For example, you can request a list of volumes, determine which volumes have available space, and create a storage group using those volumes. If you execute most jobs in batch, ensuring you have enough space available before job execution helps to ensure that the job does not execute unsuccessfully because of space limitations.
carcudb219
You can use the Space Calculator to locate volumes and storage group with adequate free space for your tablespaces and indexspaces. For example, you can request a list of volumes, determine which volumes have available space, and create a storage group using those volumes. If you execute most jobs in batch, ensuring you have enough space available before job execution helps to ensure that the job does not execute unsuccessfully because of space limitations.
Use the FIT command to toggle between showing all available volumes or storage groups or only those with adequate free space available. 
Follow these steps:
  1. Edit an existing strategy or perform a tablespace or indexspace space calculation.
    The Space Calculation panel for the tablespace or indexspace appears.
    The total space requirements needed for the tablespace or indexspace appear in the Space Statistics section. This information is used to determine which storage groups or volumes have available space.
  2. Type
    V
    (volume) or
    S
    (storage group) and an object name or selection criteria in the Volume field and press Enter.
    The Space Calculation panel lists and highlights the storage groups or volumes that match your selection criteria. The specified volume serial IDs (volsers) in the storage groups that contain the space amounts are also shown.
    Note the track largest and cylinders largest field values to ensure you select a storage group that can accommodate the space you need allocated. SMS in the Volser field indicates that this is an SMS-managed storage group. If the device type is N/A and the remaining values are zero (0), this indicates that the volumes defined in the storage group do not exist, although they might have existed at the time the storage group was created. 
  3. (Optional) Type
    FIT
    on the command line and press Enter.
    The Space Calculation panel lists only the storage groups or volumes that have adequate free space available. You can scroll through the list vertically and horizontally.
  4. Review the following Free Space Verification fields and type
    S
    next to a storage group or volume to select it. You can select one storage group and up to six volumes.
    • STOGROUP
      Identifies the name of the storage group that matches your selection criteria entered in the Volume field or Name field. The names that are highlighted have enough free space to satisfy the space calculator request. (This field displays only when stogroups are selected.)
    • VOLSER
      Identifies the volume serial ID matching the selection criteria you entered in the Volume field or Name field or associated with the specified storage group. Volsers containing available space are shown.
      If SMS, the storage group is SMS-managed, rather than having volumes assigned to it.
    • UNIT TYPE
      Identifies the device type of the pack (DASD device) associated with the Volser.
      If N/A (not applicable), the storage group is SMS-managed or the volume shown in the Volser field does not exist, is offline, or is otherwise inoperative.
    • FREE EXTENTS
      Identifies the number of contiguous free tracks or cylinders on a DASD device.
    • TRACKS (SIZE and LARGEST)
      Identifies the total number of free tracks available and the largest number of free tracks that exist in exactly one free extent.
    • CYLINDERS (SIZE and LARGEST)
      Identifies the total number of free cylinders available and the largest number of free cylinders that exist in exactly one free extent.
    • TOTAL TRACKS
      Identifies the total number of tracks that exist on the device.
    • TRK/CYL
      Identifies the number of tracks per cylinder for the device.
    • PERCENT USED
      Identifies the percentage of space that is currently allocated.
    • FREE DSCBS
      Identifies the number of free data set control blocks (DSCB) that exist in the volume table of contents (VTOC). A DSCB is a label of the disk data set. This field is useful when you want to confirm how many records are in the VTOC. If the VTOC is full, the space cannot be allocated.
    • PUBLIC/PRIVATE
      Identifies the mount attribute of the volume. Valid values are PUBLIC, PRIVATE, or STORAGE.
    • SMS
      Identifies whether the volume is managed by IBM System Managed Storage.
    Press Enter.
    The Space Calculation panel reappears and shows the name of the storage group or volume located with free space in the Volume field. The Action value is reset to N. If more than one volume is selected, a plus sign (+) appears next to the name.
    Volumes are temporarily removed from the panel if selected and placed in a queue for processing. They are used to automatically generate the appropriate VSAM define cards. You can use the S (SHRINK) command to view the selected volume queue and update as needed. When you process the create, alter, or template request from CA RC/Migrator or CA RC/Update, the selected volumes are included in the DDL to create or alter the tablespace or index.