The DB-DIAGAREA is a task-specific trace area into which openUTM cyclically writes trace records. You can find more details on the DB-DIAGAREA in the openUTM manual “ Messages, Debugging and Diagnostics”.
At each call, SESAM/SQL supplies return information to openUTM which is transferred to a trace record in the DB-DIAGAREA. This return information is stored as “DB trace information” in bytes 20-51 of the trace record.
Layout of the DB trace information for SQL requests
Byte in the | Byte in | Length | Meaning |
20 | 0 | 1 | Identifier “S” for SQL request |
21 | 1 | 2 | Representation of the SQL request (coded) |
22 | 3 | 1 | UTM operation code:
|
24 | 4 | 2 | SQL state:
|
26 | 6 | 1 | reserved |
27 | 8 | 1 | type of SESAM connection:
|
28 | 12 | 4 | Message number |
32 | 16 | 4 | transaction serial number |
36 | 20 | 4 | pointer to actual UTAB |
40 | 24 | 3 | target as per distribution rule |
43 | 27 | 1 | DBH configuration name |
44 | 28 | 4 | TSN of the DBH |
48 | 32 | 1 | last digit of the serial number in the CO-LOG file |
49 | 33 | 3 | block number in the CO-LOG file |
Table 38: Layout of the DB trace information for SQL requests
Layout ot the DB trace information for CALL-DM requests
Byte in the | Byte in | Length | Meaning |
20 | 0 | 3 | begin of CALL DML statement |
23 | 3 | 1 | UTM operation code:
|
24 | 4 | 2 | CALL DML state |
26 | 6 | 1 | status subcode |
27 | 8 | 1 | type of SESAM connection:
|
28 | 12 | 4 | Message number |
32 | 16 | 4 | transaction serial number |
36 | 20 | 4 | pointer to actual UTAB |
40 | 24 | 3 | target as per distribution rule |
43 | 27 | 1 | DBH configuration name |
44 | 28 | 4 | TSN of the DBH |
48 | 32 | 1 | last digit of the serial number in the CO-LOG file |
49 | 33 | 3 | block number in the CO-LOG file |
Table 39: Layout ot the DB trace information for CALL-DM requests
Layout of the DB trace information for UTM system requests
Byte in the | Byte in | Length | Meaning |
20 | 0 | 3 | identifier “UTM” for UTM system order |
23 | 3 | 1 | UTM operation code:
|
24 | 4 | 2 | CALL DML state |
26 | 6 | 1 | status subcode |
27 | 8 | 1 | type of SESAM connection:
|
28 | 12 | 4 | Message number |
32 | 16 | 4 | transaction serial number |
36 | 20 | 4 | pointer to actual UTAB |
40 | 24 | 3 | target as per distribution rule |
43 | 27 | 1 | DBH configuration name |
44 | 28 | 4 | TSN of the DBH |
48 | 32 | 1 | last digit of the serial number in the CO-LOG file |
49 | 33 | 3 | block number in the CO-LOG file |
Table 40: Layout of the DB trace information for UTM system requests