LOGLIBRARY File

All accesses to the log file are performed by the LOGLIBRARY.

The LOGLIBRARY for a built application is copied during the generation process.

The LOGLIBRARY is named system/1/LOGLIBRARY.

The log file analysis programs (Log Activity Printing, Diagnostic Log, or Log Monitor) must have access to the LOGLIBRARY when they run. This should be the correct LOGLIBRARY for that application. In the case of the Diagnostic Log program, which is often placed under a separate usercode for security purposes, a file equate is provided to enable access to the LOGLIBRARY.

When the LOGLIBRARY initializes, the following message might be displayed for certain utilities.

LOG STARTING FROM nnn rrrrrr l

This identifies the pivot number (made up of three parts: nnn, rrrrrr, and l) at which the Log Utility commences. Refer to Pivot Numbers for more information.

There are two entry points available in the LOGLIBRARY to enable access to the Log files for your own analysis. These entry points are Lastlog and Logread. Refer to Technical Details of Logging.