SPACE



Related topic

The SPACE (SPA) service locates DASD devices based on the specified selection criteria and displays space-related information for the selected devices. You can also control the sort order of the displayed information.

Warning

Important

As of Release 3.6, the SPACE service supports the cylinder-managed area of EAV volumes and includes other new features. The amount of storage space is displayed in bytes, rather than in tracks and cylinders.

The following information is displayed:

  • device address
  • VOLSER
  • mount attribute
  • EAV volume flag

You can also specify that you want information for the track-managed area (TRACK), cylinder-managed area (CYLINDER), or the two areas combined (COMBINED). The default is TRACK. The following information is displayed for the specified area as follows:

  • total area size in bytes
  • free space in bytes
  • largest extent in bytes
  • percentage of free space
  • fragmentation index

Other filters are available to limit the displayed information.

Syntax

GUID-6B7DCEC7-4A6C-47A1-9B30-A6EABDC7CA5D-low.png

Operands

The first operand must be one of the following choices:

  • device number
  • esoteric (or generic) name
  • volume serial number
  • partial volume serial number

A partial volume serial number is specified by appending an asterisk (*) to the desired characters. For example, ABC* indicates that all devices with a volume serial number beginning with ABC are to be selected. Specifying only an asterisk indicates that all DASD volumes are desired and is equivalent to using the esoteric name SYSALLDA. The default is the generic name SYSDA.

The following operands are not positional and can be specified in any sequence. The last operand controls the sort order.

Subsequent operands allows you to limit the display to the desired information and to control how that information is sorted. You can specify as many operands as needed to obtain the desired result. Several keywords control the sort order, in which case the last keyword specified prevails. All keywords can be abbreviated to their first three characters. Keywords that accept an operator permit you to reject volumes that are not within the specified range. For example, you could specify LARGEST>2T to restrict the display to volumes that have at least two terabytes of contiguous free space, or you could specify SPACE * CYLINDER PCT<10 to locate all EAV volumes with free space of 10% or less.

The syntax diagram has two additional columns of logically grouped options as follows:

  • TRACK, CYLINDER, and COMBINED are mutually exclusive options that select the management area to be processed.
    • TRACK (the default) indicates that you want data for the traditional track-managed area that is applicable to all volumes.
    • CYLINDER indicates that you want only information for the cylinder-managed area on Extended Addressability Volumes (EAV) devices.
    • COMBINED indicates that you want the information for both areas combined.
  • ALLATR, PUBLIC, PRIVATE, and STORAGE filters (limits) the display to volumes with the requested mount attributes. The default is ALLATR, which indicates that you want all three. You can specify more than one value. For example, specifying PUBLIC, STORAGE causes PRIVATE volumes to be omitted.

The variable, exp, is an expression that provides additional filtering options and controls how the data is sorted. The following two forms for exp are provided:

label

label operator value

  • label is one of the following column header labels: EV, TOTAL, FREE, LARGEST, PCT, and FRAG.
  • operator is one for the following operands: <, =, or >.
  • value is the desired limit value.

The variable value can be N or Y for keyword EAV. You can choose

  • EAV=N to reject all EAV volumes
  • EAV=Y to reject all non-EAV volume
  • EAV to sort by the EAV column

For all other keywords value is any numeric value and, to simplify working with large values, you can append the numeric value with one of the following multipliers: K, M, G, T, or P, each of which increases by 1,000.

The following table lists all of the supported keywords and indicates which ones affect sort order, the direction of the sort, and if you can append operator/value pairs to the keyword.

SPACE service keywords

Keyword

Description

Sort order

Operators

ALLATR

select volumes regardless of their mount attribute (default)

NA

NA

ATR

sort by mount attribute (PUBLIC, PRIVATE, STORAGE)

ascending


COMBINE

combined track- and cylinder-managed data is desired

NA

NA

CYLINDER

indicates that cylinder-managed area data is desired

NA

NA

EAV

sort by EAV field or limit to EAV=N or EAV=Y

ascending

=

FRAG

sort by Fragmentation Index value and optionally limit to volumes with less than or more than the specified Fragmentation Index value

descending

< >

FREE

sort by largest contiguous free extent and optionally limit to volumes with less than or more than the specified contiguous free space

descending

< >

LARGEST

sort by largest contiguous free extent and optionally limit to volumes with less than or more than the specified contiguous free space

descending

< >

PCT

sort by the percentage of free space and optionally limit to volumes with less than or more than the specified percentage of free space

descending

< >

PRIVATE

select volumes with a mount attribute of PRIVATE*

NA

NA

PUBLIC

select volumes with a mount attribute of PUBLIC*

NA

NA

STORAGE

select volumes with a mount attribute of STORAGE*

NA

NA

TOTAL

sort by the total size of the referenced area and optionally limit to volumes with less than or more than the specified value

descending

< >

TRACK

indicates that track-managed area data is desired

NA

NA

UNIT

sort by device address

Warning

Important

To specify a device number, add before the number.

ascending

NA

VOLUME

sort by volume serial number

ascending

NA

Example 1

To display track-managed area information for all devices with a volume serial number that begins with BAB36 and sort the information by the percentage of free space in descending sequence (the default), type

SPACE BAB36*

 AMTSP3I 10 devices selected                                            
 AMTS41I                                                                
 AMTS42I Track-Managed:          Total     Free  largest   Pct     Frag
 AMTS43I Unit Volume Atr EAV     Bytes    Bytes   Extent  Free    Index
 AMTS44I ---- ------ --- ---  -------- -------- -------- ----- --------
 AMTS45I 85C9 BAB369 PRV  N     2,944M   1,030M     356M   34%     273  
 AMTS45I 85C7 BAB367 PRV  N     2,944M     857M     306M   28%     186  
 AMTS45I 8565 BAB365 PRV  N     2,944M     742M     352M   25%     124  
 AMTS45I 8560 BAB360 PRV  N     2,944M     603M     283M   20%     224  
 AMTS45I 8564 BAB364 PRV  N     2,944M     586M     446M   19%      87  
 AMTS45I 8561 BAB361 PRV  N     2,944M     587M     342M   19%      92  
 AMTS45I 8562 BAB362 PRV  N     2,944M     521M     376M   17%     103  
 AMTS45I 85C8 BAB368 PRV  N     2,944M     521M     390M   17%     140  
 AMTS45I 8563 BAB363 PRV  N     2,944M     472M     307M   15%      91  
 AMTS45I 85C6 BAB366 PRV  N     2,944M     320M     310M   10%      22  
 AMT001A SYSPROG

Example 2

To locate all volumes with a volume serial number beginning with BAB, a mount attribute of PRIVATE, and at least one gigabyte of contiguous free space sorted by descending contiguous free space, type

SPA,BAB*,PRI,LARGEST>1G

 AMTSP3I 8 devices selected                                             
 AMTS41I                                                                
 AMTS42I Track-Managed:          Total     Free  largest   Pct     Frag
 AMTS43I Unit Volume Atr EAV     Bytes    Bytes   Extent  Free    Index
 AMTS44I ---- ------ --- ---  -------- -------- -------- ----- --------
 AMTS45I 839D BAB908 PRV  N     2,944M   2,124M   1,921M   72%      44  
 AMTS45I 8354 BAB907 PRV  N     2,944M   2,333M   1,495M   79%     134  
 AMTS45I 831A BAB201 PRV  N     1,910M   1,486M   1,461M   77%       8  
 AMTS45I 8319 BAB200 PRV  N     1,910M   1,331M   1,330M   69%       0  
 AMTS45I 85C4 BAB904 PRV  N     2,944M   2,112M   1,262M   71%     119  
 AMTS45I 876E BAB906 PRV  N     2,944M   2,079M   1,201M   70%     116  
 AMTS45I AC0F BAB914 PRV  N     8,833M   1,397M   1,180M   15%      57  
 AMTS45I AC0C BAB911 PRV  N     8,833M   1,859M   1,097M   20%     153  
 AMT001A SYSPROG

Example 3

To locate all Extended Addressability Volume (EAV) devices and display information for the combined track and cylinder-managed areas, type

SPA,*,EAV=Y,COMBINED

 AMTSP3I 4 devices selected                                              
 AMTS41I                                                                 
 AMTS42I Track & Cyl-Managed:    Total     Free  largest   Pct     Frag
 AMTS43I Unit Volume Atr EAV     Bytes    Bytes   Extent  Free    Index
 AMTS44I ---- ------ --- ---  -------- -------- -------- ----- --------
 AMTS45I 2401 EAVNS1 PRV  Y    60,849M  20,199T  30,116M   49%       3
 AMTS45I 2200 EVANLA PRV  Y       232G  12,372T  44,887M   21%      34
 AMTS45I 2400 EAVNL1 PRV  Y       232G  32,823T     118G   72%      73
 AMTS45I 2201 EVANSA PRV  Y    60,849M  17,421T   6,406M   81%     188
 AMT001A SYSPROG



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops SYSPROG Services 6.5