The LOGRECORD command provides the ability to analyze the contents of an array as a log record. The format of the LOGRECORD command is similar to the output produced by the LOGANALYZER utility when analyzing log files.
Syntax
── LOGRECORD ─┬─ AT ──<simple address>─┬─┬────────────┬────────────────┤ ├─ VIA ──<ASD number>────┘ └─ PHYSICAL ─┤ ├─ SUMLOG_BUFFER ───────────────────────┤ ├─ SUMLOG_OBUFFER ──────────────────────┤ ├─ SECLOG_BUFFER ───────────────────────┤ └─ SECLOG_IOBUFFER ─────────────────────┘
Explanation
LOGRECORD AT <simple address>
Analyzes the contents of the array beginning at the specified simple address as a single log record.
LOGRECORD VIA <ASD number>
Analyzes the contents of the array referenced by the specified ASD number as a single log record.
LOGRECORD AT <simple address> PHYSICAL
LOGRECORD VIA <ASD number> PHYSICAL
Analyzes the contents of the specified array as a log record broken up into one or more physical records.
When written to disk as an entry in the system sumlog or job log files, log records are first formatted into one or more fixed length physical records. The PHYSICAL option allows the LOGRECORD command to properly analyze arrays containing one or more of these physical records.
For a more detailed discussion of physical log records, refer to the "Understanding Log Structure" section of the System Log Programming Reference Manual.
LOGRECORD LOGINITQUEUE
Analyzes the log records contained in the MCP global LOGINITQUEUE structure. LOGINITQUEUE is an MCP queue structure that temporarily stores log records during system initialization until the system sumlog becomes available.
LOGRECORD SUMLOG_BUFFER
Analyzes the physical log records contained in the MCP global SUMLOG_BUFFER structure. The SUMLOG_BUFFER structure serves as a temporary storage for physical log records prior to being written to the system sumlog file.
The SUMLOG_BUFFER option is only valid for memory dumps.
LOGRECORD SUMLOG_IOBUFFER
Analyzes the physical log records contained in the MCP global SUMLOG_IOBUFFER structure. The SUMLOG_IOBUFFER structure serves as an I/O buffer for writing physical log records to the system sumlog file.
The SUMLOG_IOBUFFER option is only valid for memory dumps.
Example
The following is an example of the LOGRECORD command output for an array referenced by ASD 262C containing an Establish Identity (Major Type 0, Minor Type 1) log record.
INPUT: LOGRECORD VIA 262C Analyzing Log Record C 800000 0004C5 Desc [Present-mom]: ASD=00262C, Address=00196BFD, Length=30 11:48:25 EI 9027 STATIONNAME: ODT/9/CANDE/1. STACK NUMBER: 00B8 JOB NUMBER: 8990 USERCODE: TRANSFER. MCS NUMBER: 1 LSN NUMBER: 511 MCS NAME : SYSTEM/CANDE ON DISK00. BOT DATE/TIME: 07/09/1999 11:43:07