LSPACE statement


You can use the LSPACE statement to monitor a specified list of direct access storage devices (DASD) volume serial numbers. The volumes are scanned at regular intervals. You can use this information to track free space availability on critical DASD volumes.

You define the LSPACE statement by using the $$$LSPAC member in the amihlq.PARM data set. You can find a sample of the LSPACE statement in amihlq.PARM(CZALSPAC), which you can copy into $$$LSPAC and customize as required.

Warning
Important

To enable the LSPACE statement you must turn on the LSPACE switch setting in $$$CONFG.

Syntax diagram for the LSPACE statement provides a visual representation of the command syntax and parameters.

You can configure automatic alert messages and actions for specified volumes by using the reserved action codes of the AUTOALERT-statement.

The following table describes the LSPACE statement parameters:

Parameter

Description

INTerval(60|minutes)

(Optional) Number of minutes between DASD volume scans

Specify a value from 1 to 1440 (24 hours). 

If you omit INTerval, the default 60 minutes is used.

VOLumes(serialNumber, serialNumber, ..., )

Serial numbers of DASD volumes to be monitored

Specify from 1 to 256 different volume serial numbers.

A sample $$$LSPAC follows:

;**********************************************************************;
;**********************************************************************;
; $$$LSPAC: User agent parameter member for BMC AMI Datastream         ;
;           This is a copy of CZALSPAC and made available for          ;
;           user modification.  It will be included in CZAPARMS        ;
; SIEMTYPE-independent                                                 ;
; Copyright (c) 2022-2025 BMC Software, Inc.                           ;
;**********************************************************************;
;**********************************************************************;

SAY "v7.1.03 Updated 29 October 2023"

; DASD Freespace Monitoring Options
LSPACE INTERVAL(2) +                   ; 1 - 1440 Minutes
       VOLUMES(VOLSR1,    +            ; 1 - 256 Volume Serial Numbers
               VOLSR2,    +
               VOLSR3)

 

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

BMC AMI Datastream for Db2 7.1