D2RDS - CICS/DB2 Resource statistics

    CONTROL BLOCK NAME = DFHD2RDS
    NAME OF MATCHING PLS CONTROL BLOCK = DFHD2RPS
    DESCRIPTIVE NAME = CICS TS DB2 Resource statistics
           Licensed Materials - Property of IBM
            Restricted Materials of IBM 
           5655-Y04
           (C) Copyright IBM Corp. 1997, 2009 
    FUNCTION =
           This dsect describes the CICS/DB2 statistics provided by
           the CICS/DB2 Attachment facility.
           A single record will be built to respond to a request for
           DB2ENTRY statistics.
    LIFETIME =
           The statistics record is created when a resource statistics
           request is received. Storage for the data block is released
           when the user task is detached.
    STORAGE CLASS =
    LOCATION =
           The user is passed a pointer to the head of the storage
           block.
    INNER CONTROL BLOCKS = none
    NOTES :
       DEPENDENCIES = S/370
       RESTRICTIONS = none
       MODULE TYPE = Domain call buffer
   --------------------------------------------------------------------
    EXTERNAL REFERENCES = none
        DATA AREAS = none
        CONTROL BLOCKS = from CICS/DB2 Attachment Facility
        GLOBAL VARIABLES (Macro pass) = none
   --------------------------------------------------------------------
    ALTHOUGH PROVIDED IN A GENERAL INTERFACE LIBRARY DFHD2RDS IS
    NOT TO BE USED AS A GENERAL PROGRAMMING INTERFACE. REFER TO
    PRODUCT DOCUMENTATION TO DETERMINE INTENDED USAGE.
Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 0 DFHD2RDS CICS/DB2 Resource statistics
(0) FULLWORD 4 (0) fullword alignment
(0) HALFWORD 2 D2RLEN Length of data area
(0) .11. .111   D2RIDE "0103" CICS/DB2 resource stats id mask
(2) ADDRESS 2 D2RID CICS/DB2 resource stats id
(2) .... ...1   D2RVERS "X'01'" Stats version number id mask
(4) CHARACTER 1 D2RDVERS Stats version number
(5) CHARACTER 3   Filler
(8) CHARACTER 8 D2R_DB2ENTRY_NAME name of the DB2ENTRY
(10) CHARACTER 8 D2R_PLAN_NAME static plan name if any
(18) CHARACTER 8 D2R_PLANEXIT_NAME planexit name if any
(20) CHARACTER 8 D2R_AUTHID static authid if any
(28) BITSTRING 1 D2R_AUTHTYPE authtype if any
(29) BITSTRING 1 D2R_ACCOUNTREC Accountrec setting
(2A) BITSTRING 1 D2R_THREADWAIT Threadwait setting
(2B) BITSTRING 1 D2R_PRIORITY thread priority
(2C) FULLWORD 4 D2R_CALLS number of calls using db2entry
(30) FULLWORD 4 D2R_SIGNONS number of signons
(34) FULLWORD 4 D2R_COMMITS number of commits
(38) FULLWORD 4 D2R_ABORTS number of aborts
(3C) FULLWORD 4 D2R_SINGLE_PHASE number of single phase commits
(40) FULLWORD 4 D2R_THREAD_REUSE number of thread reuses
(44) FULLWORD 4 D2R_THREAD_TERM number of thread terminates
(48) FULLWORD 4 D2R_THREAD_WAIT_OR_ OVERFL number of thread waits or overflows
(4C) FULLWORD 4 D2R_THREAD_LIMIT maximum number of threads
(50) FULLWORD 4 D2R_THREAD_CURRENT current number of threads
(54) FULLWORD 4 D2R_THREAD_HWM peak number of threads
(58) FULLWORD 4 D2R_PTHREAD_LIMIT maximum number of protected threads
(5C) FULLWORD 4 D2R_PTHREAD_CURRENT current number of protected threads
(60) FULLWORD 4 D2R_PTHREAD_HWM peak number of protected threads
(64) FULLWORD 4 D2R_TASK_CURRENT current number of tasks
(68) FULLWORD 4 D2R_TASK_HWM peak number of tasks
(6C) FULLWORD 4 D2R_TASK_TOTAL total number of tasks
(70) FULLWORD 4 D2R_READYQ_CURRENT number of tasks on ready queue
(74) FULLWORD 4 D2R_READYQ_HWM peak number of tasks on ready queue
(78) FULLWORD 4 D2R_PARTIAL_SIGNONS number of partial signons
(7C) FULLWORD 4 D2R_THREAD_CREATE Number of thread creates
(80) FULLWORD 4 D2R_REUSELIMIT_COUNT Number times reuselimit reached
(84) CHARACTER 24   reserved
(9C) CHARACTER 8 D2R_DEFINE_SOURCE Group installed from
(A4) BITSTRING 8 D2R_CHANGE_TIME Change/create time
(AC) CHARACTER 8 D2R_CHANGE_USERID Change userid
(B4) BITSTRING 2 D2R_CHANGE_AGENT Change agent
(B6) BITSTRING 2 D2R_INSTALL_AGENT Install agent
(B8) BITSTRING 8 D2R_INSTALL_TIME Install/Create time
(C0) CHARACTER 8 D2R_INSTALL_USERID Install userid
(C8) BITSTRING 4   Reserved
(C8) 11.. 11..   D2R_END "*"
(C8) 11.. 11..   D2R_LENGTH "*-D2RLEN" Length of dsect
  Equates to test D2R_AUTHTYPE
(C8) .... ....   D2R_AUTHTYPE_NA "0" Not applicable
(C8) .... ...1   D2R_AUTHTYPE_USERID "1" Authtype(userid)
(C8) .... ..1.   D2R_AUTHTYPE_OPID "2" Authtype(opid)
(C8) .... ..11   D2R_AUTHTYPE_GROUP "3" Authtype(group)
(C8) .... .1..   D2R_AUTHTYPE_SIGNID "4" Authtype(signid)
(C8) .... .1.1   D2R_AUTHTYPE_TERM "5" Authtype(term)
(C8) .... .11.   D2R_AUTHTYPE_TXID "6" Authtype(txid)
  Equates to test D2R_ACCOUNTREC
(C8) .... ...1   D2R_ACCOUNTREC_NONE "1" Accountrec(none)
(C8) .... ..1.   D2R_ACCOUNTREC_TXID "2" Accountrec(txid)
(C8) .... ..11   D2R_ACCOUNTREC_TASK "3" Accountrec(task)
(C8) .... .1..   D2R_ACCOUNTREC_UOW "4" Accountrec(uow)
  Equates to test D2R_THREADWAIT
(C8) .... ...1   D2R_THREADWAIT_YES "1" Threadwait(yes)
(C8) .... ..1.   D2R_THREADWAIT_NO "2" Threadwait(no)
(C8) .... ..11   D2R_THREADWAIT_POOL "3" Threadwait(pool)
  Equates to test D2R_PRIORITY
(C8) .... ....   D2R_PRIORITY_NA "0" Not applicable
(C8) .... ...1   D2R_PRIORITY_HIGH "1" Priority(high)
(C8) .... ..1.   D2R_PRIORITY_EQUAL "2" Priority(equal)
(C8) .... ..11   D2R_PRIORITY_LOW "3" Priority(low)
  Equates to test D2R_CHANGE_AGENT
(C8) .... ...1   D2R_CSDAPI_CHANGE "1" Change Agent - CSD API
(C8) .... ..1.   D2R_CSDBATCH_CHANGE "2" Change Agent - DFHCSDUP
(C8) .... ..11   D2R_DREPAPI_CHANGE "3" Change Agent - DREP API
(C8) .... .1..   D2R_CREATE_CHANGE "4" Change Agent - CREATE SPI
  Equates to test D2R_INSTALL_AGENT
(C8) .... ...1   D2R_CSDAPI_INSTALL "1" Install Agent - CSD API
(C8) .... .1..   D2R_CREATE_INSTALL "4" Install Agent - CREATE SPI
(C8) .... .1.1   D2R_GRPLIST_INSTALL "5" Install Agent - GRPLIST