A database file is used to store the messages sent to a log message queue on the system. Because all records in a physical file have the same length and messages sent to a log have different lengths, the messages can span more than one record.
Each record for a message has three fields:
The third field (data) of the first record has the following format.
| Contents | Type | Length | Positions in record |
|---|---|---|---|
| Job name | Character | 26 | 11-36 |
| Converted date and time1 | Character | 13 | 37-49 |
| Message ID | Character | 7 | 50-56 |
| Message file name | Character | 10 | 57-66 |
| Library name | Character | 10 | 67-76 |
| Message type2 | Character | 2 | 77-78 |
| Severity code | Character | 2 | 79-80 |
| Sending program name3 | Character | 12 | 81-92 |
| Sending program instruction number4 | Character | 4 | 93-96 |
| Receiving program name3 | Character | 10 | 97-106 |
| Receiving program instruction number4 | Character | 4 | 107-110 |
| Message text length | Binary | 2 | 111-112 |
| Message data length | Binary | 2 | 113-114 |
| Coded character set identifier (CCSID) for text or data5 | Binary | 4 | 115-118 |
| Sending user profile | Character | 10 | 119–128 |
| Reserved | Character | 14 | 129-142 |
Notes:
|
|||
The third field (data) of the remaining records has the following format.
| Contents | Type | Length |
|---|---|---|
| Message (includes immediate message text) | Character | Variable1 |
| Message data | Character | Variable2 |
Notes:
|
||
A message is never split when a new version of a log is started. The first and last records of a message are always in the same QHST log version file.