Programming Interface Information:
The Monitor Records are intended Programming Interfaces that
allow the customer to write programs to obtain services of z/VM.

MRSTORAS

Prolog
Control Block Contents
Cross Reference

MRSTORAS Prolog

 DSECT NAME - STORAS
 FUNCTION - Map a Monitor record.
 LOCATED By -
        Through the Monitor Control Area
 REFERENCED CONTROL BLOCKS -
        MRRECHDR    Monitor Record Header
 NAME - MRSTORAS
 DESCRIPTIVE NAME - Monitor Event Record
                    Domain 3 - Storage Domain
                    Record 26 - Real Device Active Drain Started
 DESCRIPTION - Generated when a real device active drain is started

MRSTORAS Control Block Contents

Offsets
Dec  Hex  Type        Len  Name (Dim)             Description
 
   0   0  Structure    56  STORAS                 Start of monitor record
   0   0  Character     0  STORAS_MRHDR           Record header - see
                                                  MRRECHDR for details
   0   0  Character    20  MRHDR
   0   0  Unsigned      2  MRHDRLEN
   2   2  Unsigned      2  MRHDRZER
   4   4  Unsigned      1  MRHDRDM
   5   5  Unsigned      1  *
   6   6  Unsigned      2  MRHDRRC
   8   8  Character     8  MRHDRTOD
  16  10  Character     4  *
  20  14  Character     0  MRHDR_END
  20  14  Character     6  STORAS_CPVOLSER        Device volume serial identifier.
                                                  For CP volumes this will be the
                                                  CPvol serial id.
  26  1A  Unsigned      2  STORAS_RDEVDEV         Device number.
  28  1C  Unsigned      1  STORAS_CPVCODE         CPVol code.
  29  1D  Character     3  *                      Reserved for IBM use.
  32  20  Unsigned      4  STORAS_VEXAPDNum       Active page drain number of the
                                                  the APD task that just started.
  36  24  Unsigned      8  STORAS_CALStartTime    Time active drain began.
  44  2C  Unsigned      8  STORAS_CALExpectedSlots Count of slots expected
                                                  to be recovered when the active
                                                  drain process is finished. Slots
                                                  are recovered due to the active
                                                  drain process itself or other
                                                  processes that may release slots
                                                  on this device.
  52  34  Unsigned      1  STORAS_CALDRAA         Active drain information for
                                                  the device. The bit settings
                                                  indicate the ALOC type that will
                                                  be active drained. These values
                                                  can be found in HCPALOC COPY.
                                                  Currently Supported:
                                                    ALOCPAGE(x'01) - Page
  53  35  Character     3  *                      Reserved for IBM use.
  56  38  Character     0  STORAS_END

MRSTORAS Cross Reference

                      Hex           Hex
Name                  Offset Length Value
 
MRHDR                      0     20
MRHDR_END                 14      0
MRHDRDM                    4      1
MRHDRLEN                   0      2
MRHDRRC                    6      2
MRHDRTOD                   8      8
MRHDRZER                   2      2
STORAS                     0     56
STORAS_CALDRAA            34      1
STORAS_CALExpectedSlots   2C      8
STORAS_CALStartTime       24      8
STORAS_CPVCODE            1C      1
STORAS_CPVOLSER           14      6
STORAS_END                38      0
STORAS_MRHDR               0      0
STORAS_RDEVDEV            1A      2
STORAS_VEXAPDNum          20      4

This information is
based on z/VM V7R5.0.

Last updated on 14 April 2026 at 13:46:05.
Copyright IBM Corporation, 2026