A database file is used to store the messages sent to a log 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 |
| Reserved | Character | 24 | 119-142 |
| |||
The third field (data) of the remaining records has the following
format:
| Contents | Type | Length |
|---|---|---|
| Message | Character | Variable1 |
| Message data | Character | Variable2 |
| ||
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 version.
For a description of the message data for a message, see Defining Substitution Variables.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.