Table 5-5 shows the layout of the accounting log used under CICS.
The structures of the accounting log have the same layout in CICS as in IMS TM, although the log headers differ slightly.
Position |
Field name |
Field type |
Field description |
---|---|---|---|
1-2 |
acct-length |
Unsigned 2-byte integer |
Record length. The total length of this accounting record. (Maximum size of a CICS record is 256.) |
3 |
acct-type |
Unsigned byte |
Type of record. For the accounting log, this type is always TDS-ACCT-REC. |
4 |
acct-direction |
Unsigned byte |
Reserved for future use. |
5-68 |
Structure containing the following: |
||
acct-key |
Unsigned byte (max. length = 30) |
user_id: Client’s server login ID, from the login packet. |
|
Unsigned byte (length = 24) |
trace_resid: Trace resource ID. In CICS, this keeps track of who is doing the tracing. |
||
Unsigned byte (length=8) |
datetime: Date and time the SNA conversation or TCP/IP session started. (TDACCEPT was issued.) |
||
Unsigned 2-byte integer |
uniquekey: Reserved for future use to ensure record has unique key. |
||
69-82 |
acct-txp-name |
Unsigned byte |
Transaction name. |
83-112 |
acct-server-id |
Unsigned byte |
TRS name. Name of the TRS sending the current request. |
113-142 |
acct-conn-id |
Unsigned byte |
Connection ID. Name by which the connection is known to TRS. |
143-144 |
Filler |
Unsigned byte |
Filler to allow next entries to be full words. |
145-148 |
acct-tot-secs-wall |
4-byte integer |
Elapsed wall clock time, in seconds, during the SNA conversation or TCP/IP session. |
149-152 |
acct-tot-fracsecs-wall |
Unsigned 4-byte integer |
Elapsed wall clock time, in milliseconds during the SNA conversation or TCP/IP session. |
153-156 |
acct-tot-secs-cpu |
4-byte integer |
CPU time used, in seconds during the SNA conversation or TCP/IP session. |
157-160 |
acct-tot-fracsecs-cpu |
Unsigned 4-byte integer |
CPU time used, in milliseconds, during the SNA conversation or TCP/IP session. |
161-164 |
acct-tot-sent-bytes |
4-byte integer |
Total number of TDS bytes sent during an SNA conversation or TCP/IP session. |
165-168 |
acct-tot-sent-packets |
4-byte integer |
Total number of TDS packets sent during an SNA conversation or TCP/IP session. |
169-172 |
acct-tot-sent-msgs |
4-byte integer |
Total number of TDS messages sent during an SNA conversation or TCP/IP session. |
173-176 |
acct-tot-sent-rows |
4-byte integer |
Total number of TDS rows sent during an SNA conversation or TCP/IP session. |
177-180 |
acct-tot-sent-requests |
4-byte integer |
Total number of RPCs or SQL requests sent during an SNA conversation or TCP/IP session. For the Server Option, this is always 0. |
181-184 |
acct-tot-rcvd-bytes |
4-byte integer |
Total number of TDS bytes received during an SNA conversation or TCP/IP session. |
185-188 |
acct-tot-rcvd-packets |
4-byte integer |
Total number of TDS packets received during an SNA conversation or TCP/IP session. |
189-192 |
acct-tot-rcvd-msgs |
4-byte integer |
Total number of TDS messages received during an SNA conversation or TCP/IP session. |
193-196 |
acct-tot-rcvd-rows |
4-byte integer |
Total number of TDS rows received during an SNA conversation or TCP/IP session. For the Server Option, this is always 0. |
197-200 |
acct-tot-rcvd-requests |
4-byte integer |
Total number of RPCs or SQL requests received during an SNA conversation or TCP/IP session. |
201-204 |
acct-tot-rcvd-cancels |
4-byte integer |
Total number of Cancels or Attentions received during an SNA conversation or TCP/IP session. |
205-208 |
acct-reserved1 |
4-byte integer |
Reserved for future use. |
209-212 |
acct-reserved2 |
4-byte integer |
Reserved for future use. |
213-216 |
acct-reserved3 |
4-byte integer |
Reserved for future use. |
217-220 |
acct-reserved4 |
4-byte integer |
Reserved for future use. |
221-236 |
acct_fill |
Unsigned byte (length=36) |
Filler, to fill out record to 256 bytes. |