XRW - XRF work element definition

      CONTROL BLOCK NAME = DFHXRWPS
      DESCRIPTIVE NAME = CICS TS (XRF) Work Element Definition
           Licensed Materials - Property of IBM
            Restricted Materials of IBM 
           5655-Y04
           (C) Copyright IBM Corp. 1986, 1990 
      FUNCTION =
          DFHXRWPS defines the XRF work elements managed by CICS.
          XRF work elements are used to pass information from
          DFHXRB, the notify exit program which runs under the
          CAVM TCB, to DFHXRSP, the surveillance program which
          runs under the CICS TCB.
          The information passed from DFHXRB to DFHXRSP, and
          the action taken by DFHXRSP, depends on the event
          notified to DFHXRB by the CAVM.
      LIFETIME =
           XRF work elements are created by DFHXRB and are
           destroyed by DFHXRSP.
      STORAGE CLASS =
           XRF work elements are allocated from OS storage.
      LOCATION =
           Two work element chains exist.
             1. The first chain, addressed from XRSWECHN in
                XRP static storage, contains those elements
                created by DFHXRB ... but ... not yet seen
                by DFHXRSP - elements appear reverse order
                of creation.
             2. The second chain, addressed from DFHXRSP
                LIFO storage, contains those elements seen
                ... but ... not yet processed by DFHXRSP;
                elements appear in order of creation.
      INNER CONTROL BLOCKS =
           There are no inner control blocks.
      NOTES :
       DEPENDENCIES =
            S/370
       RESTRICTIONS =
            There are no restrictions.
       MODULE TYPE =
            Control block definition.
     ------------------------------------------------------------------
      EXTERNAL REFERENCES =
            None.
        DATA AREAS =
            None.
        CONTROL BLOCKS =
            None.
        GLOBAL VARIABLES (Macro pass) =
            None.
     ------------------------------------------------------------------
Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 28 DFHXRWPS XRP work element
(0) FULLWORD 4 XRWETRRQ - request - for trace
(0) UNSIGNED 1 XRWERQ - request
(1) BIT(8) 1 XRWERQM - request modifier
(1) 1... ....   XRWERQIM - implicit request
(1) .1.. ....   XRWERQDU - DUMP=YES specified
(1) ..1. ....   XRWERQMD - MVS system gone
(1) ...1 1111   * Reserved
(2) BIT(16) 2 * Reserved
(4) ADDRESS 4 XRWECHN - A(next work element)
(8) ADDRESS 4 XRWEASD - A(system status data)
(C) FULLWORD 4 XRWEINS - instance number
(10) FULLWORD 4 XRWEVER - version number
(14) CHARACTER 8 XRWEAPL - specific applid
(14) FULLWORD 4 XRWELBD - TOD clock - lower bound
(14) FULLWORD 4 XRWEHBL - #(secs heartbeat late)
(14) FULLWORD 4 XRWEABC - abend code (ex CAVM)
(18) FULLWORD 4 XRWEUBD - TOD clock - upper bound

Constants

Table 2.
Len Type Value Name Description
1 DECIMAL 1 XRWESON - signon
1 DECIMAL 2 XRWESOFN - signoff normal
1 DECIMAL 3 XRWESOFA - signoff abnormal
1 DECIMAL 7 XRWECKDC - TOD clock difference
1 DECIMAL 8 XRWEIHRC - health response
1 DECIMAL 9 XRWEHBOD - heartbeat overdue
1 DECIMAL 10 XRWEHBRS - heartbeat resumed
1 DECIMAL 15 XRWERQTK - request takeover
1 DECIMAL 16 XRWEICPA - incipient active
1 DECIMAL 17 XRWEACTV - active
1 DECIMAL 18 XRWECKAS - TOD clock wrt signoff
1 DECIMAL 19 XRWECKAT - TOD clock wrt termination
1 DECIMAL 24 XRWEFAIL - CAVM failure
1 DECIMAL 25 XRWEINVL - invalidated