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

MRSCLRDC

Prolog
Control Block Contents
Storage Layout
Cross Reference

MRSCLRDC Prolog

 DSECT NAME - SCLRDC
 FUNCTION - Map a Monitor record.
 LOCATED BY -
           Through the Monitor Control Area
 REFERENCED CONTROL BLOCKS -
        MRRECHDR    Monitor Record Header
 NAME - MRSCLRDC
 DESCRIPTIVE NAME - Monitor Event Record
                    Domain 2 - Scheduler Domain
                    Record 2 - Read Complete
 DESCRIPTION - Indicates a console read has completed for a user
 NOTES:
   - Console data in SCLRDC_CALLINE will be displayed only after
     the SET MONDATA ON command has been entered.


MRSCLRDC Control Block Contents

Offsets
Dec Hex  Type       Len  Name (Dim)          Description
 
  0   0  Structure   40  SCLRDC              Start of monitor record
  0   0  Character   40  SCLRDC_STATIC       
  0   0  Character    0  SCLRDC_MRHDR        Record header. See MRRECHDR for
                                             details
  0   0  Character   20  MRHDR               
  0   0  Unsigned     2  MRHDRLEN            record length in bytes
  2   2  Unsigned     2  MRHDRZER            field of zeros
  4   4  Unsigned     1  MRHDRDM             domain identifier
  5   5  Unsigned     1  *                   
  6   6  Unsigned     2  MRHDRRC             record identifier
  8   8  Character    8  MRHDRTOD            Time at which this record was
                                             built. In time-of-day (TOD) clock
                                             format. See IBM System 370 XA
                                             Principle of Operation for
                                             explanation of format.
 16  10  Character    4  *                   
 20  14  Character    0  MRHDR_END           End of header
 20  14  Character    8  SCLRDC_VMDUSER      Userid
 28  1C  Bitstring    1  SCLRDC_CALFLAGS     Byte of flags
          1... ....      SCLRDC_CALRDSID     ON = SCLRDC_RDEVSID contains
                                             real device subchannel id. OFF =
                                             no terminal was involved in this
                                             event, SCLRDC_RDEVSID is not
                                             applicable.
          .1.. ....      *                   
          ..1. ....      *                   
          ...1 ....      *                   
          .... 1...      *                   
          .... .1..      *                   
          .... ..1.      *                   
          .... ...1      *                   
 29  1D  Character    3  *                   Reserved for IBM use
 32  20  Unsigned     4  SCLRDC_RDEVSID      Real device subchannel id,
                                             applicable only when
                                             SCLRDC_CALRDSID = on.
 36  24  Unsigned     4  SCLRDC_CALBYCT      Length (in bytes) of data in
                                             SCLRDC_CALLINE. Zero if the SET
                                             MONDATA OFF is still in effect.
 40  28  Character    0  SCLRDC_CALLINE      Line of data

MRSCLRDC 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
SCLRDC                  0     40
SCLRDC_CALBYCT         24      4
SCLRDC_CALFLAGS        1C      1
SCLRDC_CALLINE         28      0
SCLRDC_CALRDSID        1C           80
SCLRDC_MRHDR            0      0
SCLRDC_RDEVSID         20      4
SCLRDC_STATIC           0     40
SCLRDC_VMDUSER         14      8

This information is based on z/VM V4R3.0.
Last updated on 1 May 2002 at 16:20:33.
Copyright IBM Corporation, 1990, 2002