WMR - XRF Message record

      CONTROL BLOCK NAME = DFHWMRPS
      DESCRIPTIVE NAME = CICS TS (XRF) Message Record
           Licensed Materials - Property of IBM
            Restricted Materials of IBM 
           5655-Y04
           (C) Copyright IBM Corp. 1985 
      FUNCTION =
           Defines the format of an XRF Message Management message
           record.
           Message records do not exist as independent control blocks
           in their own right. The definition here is of the message
           record component of other structures. Such components
           exist as records within the XRF status VSAM dataset, as
           the data part of in-core message blocks (WMME) created by
           the XRF reader process, and as the message part of the
           report data in a status CI (WSAR).
           Message records contain the data which are transmitted
           between ACTIVE and BACKUP systems by means of the PUTMSG,
           GETMSG, PUTREQ and PUTRSP message manager requests.
      LIFETIME =
           Same as containing structure.
      STORAGE CLASS =
           Same as containing structure.
      LOCATION =
           Same as containing structure.
      INNER CONTROL BLOCKS =
           WMRCR Format of control record which is the first in
                    each message dataset CI.
           WMRCIDF Defines the format of a VSAM CIDF
           WMRRDF Defines the format of a VSAM RDF
      NOTES :
       DEPENDENCIES = S/370
       RESTRICTIONS =
             None
       MODULE TYPE = Control block definition
     ------------------------------------------------------------------
      EXTERNAL REFERENCES =
        DATA AREAS =
            None
        CONTROL BLOCKS =
            None
        GLOBAL VARIABLES (Macro pass) =
            None
     ------------------------------------------------------------------
       Message Data Record
Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 16 DFHWMRPS
(0) UNSIGNED 1 WMRTYPE Record type
(1) BIT(8) 1 WMRRFLGS Reserved
(2) HALFWORD 2 WMRDATLN Message data length i.e. number of bytes in record following WMREND
(4) FULLWORD 4 WMRSEQNO Message sequence number
(8) CHARACTER 8 WMRIVN Instance and version/queue
(8) FULLWORD 4 WMRINSTN Applicable instance number
(C) FULLWORD 4 WMRVERSN Version number
(C) CHARACTER 4 WMRQNAME Queue name
(10) CHARACTER 0 WMREND Start of message data
       Message Control Record
Table 2.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 8 WMRCR
(0) BIT(8) 1 * Record type - WMRTCNO
(1) CHARACTER 3 * Reserved
(4) FULLWORD 4 WMRCRCNO Message cycle number
(8) CHARACTER 0 WMRCREND
       VSAM CIDF Format
Table 3.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 4 WMRCIDF
(0) HALFWORD 2 WMRCIDFO Offset of start of unused space in this CI.
(2) HALFWORD 2 WMRCIDFL Length of unused space in this CI.
       VSAM RDF Format
Table 4.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 3 WMRRDF Cancel data passed to KCP at WAIT.
(0) BIT(8) 1 WMRRDFF Flags - always zero in the subset used by XRF message manager.
(1) HALFWORD 2 WMRRDFL Length of record which corresponds to this RDF.

Constants

Table 5.
Len Type Value Name Description
     Message Dataset Record Types (WMRTYPE)
1 DECIMAL 0 WMRTDATA Message record
1 DECIMAL 1 WMRTCNO Control record