HP 3000 Manuals

System Log Record Formats [ Getting System Information Programmer's Guide ] MPE/iX 5.0 Documentation


Getting System Information Programmer's Guide

System Log Record Formats 

The rest of this chapter includes the format of the log records.  Notes
following the log records describe the significant fields in the records.

Log failure record,type 100 

          Table 8-3.  Log Record Heading Format 
---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (100)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      2                      - Missing log records*                        -
---------------------------------------------------------------------------------------------
-                      1                      - Missing job initiations*                    -
---------------------------------------------------------------------------------------------
-                      1                      - Missing job terminations*                   -
---------------------------------------------------------------------------------------------
-                      1                      - Missing I/O records*                        -
---------------------------------------------------------------------------------------------

* Lost when system logging is suspended or disabled.

System up record,type 101 

          Table 8-4.  System Up Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (101)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      4                      - Version ID (v.uu.ff)/Last 8 bits unused     -
---------------------------------------------------------------------------------------------
|                      2                      | Maximum number of concurrent jobs and       |
|                                             | sessions                                    |
---------------------------------------------------------------------------------------------
-                      2                      - Boot code                                   -
---------------------------------------------------------------------------------------------
-                     16                      - Boot device                                 -
---------------------------------------------------------------------------------------------
-                     16                      - Configuration group used for boot           -
---------------------------------------------------------------------------------------------
-                      2                      - NL checksum                                 -
---------------------------------------------------------------------------------------------
-                      2                      - Config checksum                             -
---------------------------------------------------------------------------------------------
-                      2                      - SL checksum                                 -
---------------------------------------------------------------------------------------------
-                     128                     - Operating system nonvolatile storage        -
---------------------------------------------------------------------------------------------

NOTES: 

Boot code: 

0  = Start with recovery.
1  = Start with no recovery.
2  = Update with a configuration change.
3  = Update without a configuration change.
4  = Install (new operating system loaded).

Configuration group used for boot (ASCII) 

Name of group containing configuration data files used when START was
invoked.

The NL, Config, and SL checksums fields are set to 0.

Operating system nonvolatile storage contains the following:

          Table 8-5.  ISL Data for Last Boot (128 bytes) 

Reserved                                                        36 bytes
Boot path                                                       32 bytes
ISL revision                                                    4 bytes
Time stamp (# seconds since 1970)                               4 bytes
LIF utility entries entered                                     48 bytes
Pointer to last utility                                         1 byte
Word alignment                                                  3 bytes

          Table 8-6.  MPE/iX Operating System System-Dependent Data 
                      (128 bytes) 
Time stamp (# seconds since 1970)                               4 bytes
# microseconds since last second                                4 bytes
GR2 (caller's PC)                                               4 bytes
MPE/iX status:                                                  4 bytes
For system abort, this contains failure number:
(1) Error (2 bytes)
(2) Subsystem (2 bytes)
MPE/iX version (vv.uu.ff)                                       8 bytes
Message string (if any)*                                        64 bytes
Halt number                                                     2 bytes
Lockup error code                                               2 bytes
Reserved                                                        36 bytes

          *Identifies entity logging this entry (abort or shutdown).

Boot Device 

Indicates the primary boot path, as follows:

Word 1:
Bits                    (0:8)        Flags
                        (8:8)        Bus Converter 0

Word 2:
Bits                    (0:8)        Bus Converter 1
                        (8:8)        Bus Converter 2

Word 3:
Bits                    (0:8)        Bus Converter 3
                        (8:8)        Bus Converter 4
Word 4:
Bits                    (0:8)        Bus Converter 5
                        (8:8)        Physical Module

Words 5 and 6:  Logical Module

Words 7-16:  Device-dependent

Job initiation record, type 102 

          Table 8-7.  Job Initiation Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (102)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      8                      - Job name                                    -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Home group name                             -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Logon group name                            -
---------------------------------------------------------------------------------------------
-                      1                      - Input logical device number                 -
---------------------------------------------------------------------------------------------
-                      1                      - Output logical device number                -
---------------------------------------------------------------------------------------------
-                      1                      - Reserved (bits 0-7)/Logon queue (bits 8-15) -
---------------------------------------------------------------------------------------------
-                      2                      - CPU time limit                              -
---------------------------------------------------------------------------------------------
-                      1                      - Inpri (bits 0-7)/Outpri (bits 8-15)         -
---------------------------------------------------------------------------------------------
-                      8                      - CI program name                             -
---------------------------------------------------------------------------------------------
-                      8                      - CI program group name                       -
---------------------------------------------------------------------------------------------
-                      8                      - CI program account name                     -
---------------------------------------------------------------------------------------------
-                      2                      - MPE/iX logon status                         -
---------------------------------------------------------------------------------------------

NOTES: 

Logon queue.   

       Execution queue the job will run on.

CPU time limit.   

       CPU time limit (in number of seconds) given by user on JOB or
       HELLO command, as follows:

            0 = not given
            # = number given

MPE/iX status.   

       If failure occurred during job initiation, the MPE/iX status
       indicates an error.  This field can be any MPE/iX status from the
       OS. If successful, value is zero.

       Unlike MPE V, unsuccessful logon attempts are logged in MPE/iX
       system logging.

Job termination record, type 103 

          Table 8-8.  Job Termination Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (103)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Maximum priority                            -
---------------------------------------------------------------------------------------------
-                      1                      - Number of creations                         -
---------------------------------------------------------------------------------------------
-                      2                      - CPU time in seconds                         -
---------------------------------------------------------------------------------------------
-                      2                      - Connect time                                -
---------------------------------------------------------------------------------------------

Process termination record, type 104 

          Table 8-9.  Process Termination Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (104)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      2                      - CPU time in milliseconds                    -
---------------------------------------------------------------------------------------------
-                      2                      - Native mode stack size in bytes             -
---------------------------------------------------------------------------------------------
-                      2                      - Native mode heap size in bytes              -
---------------------------------------------------------------------------------------------
-                      1                      - CM mas stack in 16-bit words                -
---------------------------------------------------------------------------------------------
-                      1                      - Termination type                            -
---------------------------------------------------------------------------------------------
-                      8                      - Reserved                                    -
---------------------------------------------------------------------------------------------

NOTES: 

Termination types:

 0 =   Normal

 1 =   Dependency (This process depends upon a terminated process.)

 2 =   Killed (This process was terminated by another using KILL.)

 3 =   Quit (This process called the QUIT intrinsic.)

 4 =   Quitprog (This process called the QUITPROG intrinsic.)

 5 =   Softfault (This process terminated due to a fault.)

NM File close record, type 105 

          Table 8-10.  File Close Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (105)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      4                      - Number of logical reads                     -
---------------------------------------------------------------------------------------------
-                      4                      - Number of byes read                         -
---------------------------------------------------------------------------------------------
-                      4                      - Number of logical writes                    -
---------------------------------------------------------------------------------------------
-                      4                      - Number of bytes written                     -
---------------------------------------------------------------------------------------------
-                      8                      - File name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Creator name                                -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - User group                                  -
---------------------------------------------------------------------------------------------
-                      8                      - User account                                -
---------------------------------------------------------------------------------------------
-                     10                      - Unique file identifier (UFID)               -
---------------------------------------------------------------------------------------------
-                      2                      - Reserved                                    -
---------------------------------------------------------------------------------------------
-                      2                      - Close disposition                           -
---------------------------------------------------------------------------------------------
-                      2                      - Open domain                                 -
---------------------------------------------------------------------------------------------
-                      2                      - File size in bytes                          -
---------------------------------------------------------------------------------------------
-                      4                      - File open count                             -
---------------------------------------------------------------------------------------------

NOTES: 

Unique file identifier (UFID).   

       Internal file identifier.  Internal data structure that uniquely
       identifies a file.  This entity is printed in hex.

Disposition field.   

Close Disposition (bits 13:3)                     Open Domain 
0  No change.                                      0  New file.
1  Save permanent.                                 1  Old permanent file.
2  Save temporary - rewound.                       2  Old temporary file.
3  Save temp - not rewound.                        3  Old job or sys.
4  Delete.
5  Make temporary.

Disk Space Disposition (bits 11:2) 

0              Do not return disk space allocated beyond EOF.
1              Return disk space allocated beyond EOF to system; EOF becomes file
               limit.
2              Return disk space allocated beyond EOF to system; file limit remains
               the same (NM file types only).

The Disposition field in an NM file close record can have values from
0-9, 8-13, and 16-21.  The number 255 is also a valid value for the
Disposition field.  Any files left open during process termination are
closed by the system and given a disposition of 255.

Shutdown record,type 106 

          Table 8-11.  Shutdown Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (106)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Number of jobs                              -
---------------------------------------------------------------------------------------------
-                      1                      - Number of sessions                          -
---------------------------------------------------------------------------------------------

Power failure record, type 107 

          Power Failure Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (107)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------

I/O error record,type 111 

          Table 8-12.  I/O Error Record Format 

--------------------------------------------------------------------------------------------
|        Length,        |                          Record Content                          |
|       in 16-bit       |                                                                  |
|         Words         |                                                                  |
--------------------------------------------------------------------------------------------
-           1           - Record type (111)                                                -
--------------------------------------------------------------------------------------------
-           1           - Record length                                                    -
--------------------------------------------------------------------------------------------
-           1           - Process identification number                                    -
--------------------------------------------------------------------------------------------
-           3           - Time stamp                                                       -
--------------------------------------------------------------------------------------------
-           2           - Job type/job number                                              -
--------------------------------------------------------------------------------------------
-          20           - Hardware product number                                          -
--------------------------------------------------------------------------------------------
-          20           - Physical path description                                        -
--------------------------------------------------------------------------------------------
-          20           - Logical device name                                              -
--------------------------------------------------------------------------------------------
-           1           - Device class identifier                                          -
--------------------------------------------------------------------------------------------
-           1           - Diagnostic message class (bits 0-7)/Not used (bits 8-15)         -
--------------------------------------------------------------------------------------------
-           2           - I/O manager status                                               -
--------------------------------------------------------------------------------------------
|           1           | Reserved (bits 0-6) LAR (bit 7)/\Reserved (bits 8-14) RA (bit    |
|                       | 15)                                                              |
--------------------------------------------------------------------------------------------
-           1           - Reserved (bits 0-6) IW (bit 7)/\Reserved (bits 8-14) AD (bit 15) -
--------------------------------------------------------------------------------------------
-           1           - Retry count                                                      -
--------------------------------------------------------------------------------------------
-           1           - Reserved                                                         -
--------------------------------------------------------------------------------------------
-           2           - I/O manager port number                                          -
--------------------------------------------------------------------------------------------
-           2           - Transaction number                                               -
--------------------------------------------------------------------------------------------
-           1           - Hardware status length                                           -
--------------------------------------------------------------------------------------------
-           1           - Not used                                                         -
--------------------------------------------------------------------------------------------
-          20           - Hardware status                                                  -
--------------------------------------------------------------------------------------------
-           1           - Length of I/O manager data                                       -
--------------------------------------------------------------------------------------------
-           1           - ID of I/O manager                                                -
--------------------------------------------------------------------------------------------
-          36           - I/O manager-specific data                                        -
--------------------------------------------------------------------------------------------

NOTES: 

Hardware product number is the number of the device; for example, 7935.

Physical path description is the hardware path to the device; for
example, 2/4.0.1 (2 = bus, 4 = channel, 0 = device adapter, and 1 =
device).  It is hardware dependent.

Logical device name is the LDEV number.

Device class identifier identifies the type of device, such as disk, tape
drive, or printer.

Diagnostic message class specifies the reason for logging this error:

0   = Hardware event
1   = Software event
2   = Other

I/O manager status is the LLIO status from the driver.  It gives the
reason for the I/O error.

LAR = Log all retries requested by I/O manager
RA  = Retry again - I/O manager attempts retry
IW  = I/O worked - Retry was successful
AD  = Auto-diagnostic requested by I/O manager

Retry count varies depending on the value of LAR. If LAR is true, then
the retry count is the number for the nth retry.  If LAR is false, it is
the number of retries performed.

I/O manager port number is the IPC port number of the device manager.  It
is usually a negative number.

Transaction number is the number of the I/O request.

Hardware status length specifies how much of the hardware status field
contains valid data.

Hardware status contains status bytes from the device.  The field may
contain up to 40 bytes of error information.  The information is device
dependent.

Length of I/O manager data specifies how much of the I/O manager specific
data field contains valid data.

ID of I/O manager is the subsystem number.

I/O manager specific data is driver-specific data that relates to the I/O
error.  It can contain up to 72 bytes of information.

Physical mount/dismount record, type 112 

          Table 8-13.  Physical Mount/Dismount Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (112)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Mount/Dismount type                         -
---------------------------------------------------------------------------------------------
-                      1                      - Volume type                                 -
---------------------------------------------------------------------------------------------
-                      2                      - Logical device number                       -
---------------------------------------------------------------------------------------------
-                      1                      - MV table ID (bits 0-5)/Not used (6-15)      -
---------------------------------------------------------------------------------------------
-                      1                      - Vol ID (bits 0-7)/Not used (8-15)           -
---------------------------------------------------------------------------------------------
-                      2                      - Volume identification                       -
---------------------------------------------------------------------------------------------
-                      8                      - Volume name                                 -
---------------------------------------------------------------------------------------------
-                     16                      - Volume set name                             -
---------------------------------------------------------------------------------------------

NOTES: 

Mount/Dismount Values                            Log Volume Types 
0 = Device- or user-initiated mount              1 = Master volume
1 = Device-initiated dismount                    3 = Loner volume
                                                 6 = Scratch volume
                                                 7 = Unknown volume

Logical mount/dismount record, type 113 

          Table 8-14.  Logical Mount/Dismount Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (113)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Mount/Dismount                              -
---------------------------------------------------------------------------------------------
-                      1                      - Request type                                -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                     16                      - Volume set name                             -
---------------------------------------------------------------------------------------------
-                      1                      - Number of volumes in set                    -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of first volume              -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device of next volume               -
---------------------------------------------------------------------------------------------

NOTES: 

Mount/Dismount                               Request Types 
 0 = Logical mount                            0 = User
 1 = Logical dismount                         1 = Operator

Tape labels record,type 114 

          Table 8-15.  Tape Labels Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (114)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Logical device number                       -
---------------------------------------------------------------------------------------------
-                      1                      - File sequence number                        -
---------------------------------------------------------------------------------------------
|                      1                      | File number (bits 0-7)/Sq type (bits 8, 9)  |
|                                             | /Type (bits 10, 11)/Reserved (bits 12-15)   |
---------------------------------------------------------------------------------------------
|                      1                      | Not used (bits 0-7)/Volume sequence number  |
|                                             | (bits 8-15)                                 |
---------------------------------------------------------------------------------------------
-                      1                      - Expiration date                             -
---------------------------------------------------------------------------------------------
-                      9                      - File name/Not used (last 8 bits)            -
---------------------------------------------------------------------------------------------
-                      4                      - Lockword                                    -
---------------------------------------------------------------------------------------------
-                      3                      - Volume set ID                               -
---------------------------------------------------------------------------------------------
-                      3                      - Volume ID                                   -
---------------------------------------------------------------------------------------------
-                      1                      - PIN *                                       -
---------------------------------------------------------------------------------------------

       * PIN of the process making the tape label request.

NOTES: 

Sq Type (2 bits) 

0   = Search for match on file name
1   = Next or default
2   = Add file to end of volume set
3   = Specified file sequence number

Type (2 bits) 

2   = ANSI standard label
3   = IBM standard label

Console log record, type 115 

          Table 8-16.  Console Log Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (115)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Byte length of console line*                -
---------------------------------------------------------------------------------------------
-                  Up to 140                  - Console input or output line                -
---------------------------------------------------------------------------------------------

* If length is less than zero, console message is input.  If length is
greater than zero, console message is output.

Program file event record, type 116 

          Table 8-17.  Program File Event Record Format 
---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    Words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (116)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Event type                                  -
---------------------------------------------------------------------------------------------
-                      1                      - Delta P                                     -
---------------------------------------------------------------------------------------------
-                      1                      - Status                                      -
---------------------------------------------------------------------------------------------
-                     25                      - Program file name                           -
---------------------------------------------------------------------------------------------
-                      2                      - Native mode offset                          -
---------------------------------------------------------------------------------------------
|                      1                      | Type (bits 0-3)/Calling location (bits      |
|                                             | 4-15)                                       |
---------------------------------------------------------------------------------------------

NOTES: 

This record appears only during execution of unusual Compatibility Mode
code to provide a trap warning, or from the Run-Time Event Monitor
(compatibility mode process). 

Event Type 

       <0 = Compatibility mode trap warning
       >0 = Run-time event monitor (RTEM) error

Native Mode Offset: 

Applicable only for negative event type numbers.

Calling Location 

Applicable only for positive event type numbers.

Type 

       0 = System SL
       1 = Pub SL
       2 = Group SL
       3 = Program file

Bits 4-12 = Segment number

NMS spoolfile done log record, type 120 

          Table 8-18.  Spoolfile Done Log Record Format (Input) 
---------------------------------------------------------------------------------------------
|      Length,      |                            Record Content                             |
|     in 16-bit     |                                                                       |
|       Words       |                                                                       |
---------------------------------------------------------------------------------------------
-         1         - Record type (120)                                                     -
---------------------------------------------------------------------------------------------
-         1         - Record length                                                         -
---------------------------------------------------------------------------------------------
-         1         - Process identification number                                         -
---------------------------------------------------------------------------------------------
-         3         - Time stamp                                                            -
---------------------------------------------------------------------------------------------
-         2         - Job type/job number                                                   -
---------------------------------------------------------------------------------------------
-         4         - User name                                                             -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - Account name                                                          -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - Job name                                                              -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - File name                                                             -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         2         - Job type/job number                                                   -
---------------------------------------------------------------------------------------------
-         2         - Spoolid (all of word 1, bits 0-14 of word 2)/I/O (bit 15 of word 2)   -
---------------------------------------------------------------------------------------------
-         4         - Device name                                                           -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         2         - Number of records in spoolfile                                        -
---------------------------------------------------------------------------------------------
-         2         - Number of sectors in spoolfile                                        -
---------------------------------------------------------------------------------------------
-         1         - Device type (bits 0-7)/Device subtype (bits 8-15)                     -
---------------------------------------------------------------------------------------------
-         1         - Reserved (bits 0=7)/All 0s (bits 8-15)                                -
---------------------------------------------------------------------------------------------
-         1         - All 0s                                                                -
---------------------------------------------------------------------------------------------
-         1         - All 0s (bits 0-7)/Reserved (bits 8-11)/File disposition (bits 12-15)  -
---------------------------------------------------------------------------------------------
-         2         - All 0s                                                                -
---------------------------------------------------------------------------------------------

          Table 8-19.  Spoolfile Done Log Record Format (Output) 

---------------------------------------------------------------------------------------------
|      Length,      |                            Record Content                             |
|     in 16-bit     |                                                                       |
|       Words       |                                                                       |
---------------------------------------------------------------------------------------------
-         1         - Record type (120)                                                     -
---------------------------------------------------------------------------------------------
-         1         - Record length                                                         -
---------------------------------------------------------------------------------------------
-         1         - Process identification number                                         -
---------------------------------------------------------------------------------------------
-         3         - Time stamp                                                            -
---------------------------------------------------------------------------------------------
-         2         - Job type/job number                                                   -
---------------------------------------------------------------------------------------------
-         4         - User name                                                             -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - Account name                                                          -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - Job name                                                              -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         4         - File name                                                             -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         2         - Job type/job number                                                   -
---------------------------------------------------------------------------------------------
-         2         - Spoolid (all of word 1, bits 0-14 of word 2)/I/O (bit 15 of word 2)   -
---------------------------------------------------------------------------------------------
-         4         - Device name                                                           -
---------------------------------------------------------------------------------------------
-         4         - Reserved                                                              -
---------------------------------------------------------------------------------------------
-         2         - Number of records processed                                           -
---------------------------------------------------------------------------------------------
-         2         - Number of sectors in spoolfile                                        -
---------------------------------------------------------------------------------------------
-         1         - Device type (bits 0-7)/Device subtype (bits 8-15)                     -
---------------------------------------------------------------------------------------------
-         1         - Reserved (bits 0=7)/Output priority (bits 8-15)                       -
---------------------------------------------------------------------------------------------
-         1         - Current copy number                                                   -
---------------------------------------------------------------------------------------------
|         1         | Logical pages per physical page (bits 0-7)/Reserved (bits 8-11)/File  |
|                   | disposition (bits 12-15)                                              |
---------------------------------------------------------------------------------------------
-         2         - Number of physical pages                                              -
---------------------------------------------------------------------------------------------

NOTES: 

Input spoolfile done log records are generated for every spoolfile that
is generated.

One output spoolfile done log record is generated and added to the log
records for every file copy (or partial file copy) that is printed.

The top two bits of the job type/job number field are the job type, which
refers to the spoolfile, as follows:

00  = Spoolfile originally created by a session on another system or
    another startup of this system (S')
01  = Spoolfile created by a session on a startup of this system (S)
10  = Spoolfile created by a job on a startup of this system (J)
11  = Spoolfile originally created by a job on another system or another
    startup of this system (J')

I/O :       0 = Input spoolfile
            1 = Output spoolfile

Func :      0 = Normal completion
            1 = Delete spoolfile
            2 = Defer spoolfile
            3 = Relink spoolfile

Number of records processed may be greater than the number of records in
the file if internal looping or powerfail occurs.

For serial printers, the number of physical pages is always 0.

Processor launch information log record, type 131 

          Table 8-20.  Processor Launch Information Log Record Format 

---------------------------------------------------------------------------------------------
|      Length,      |                            Record Content                             |
|     in 16-bit     |                                                                       |
|       Words       |                                                                       |
---------------------------------------------------------------------------------------------
-         1         - Record type (131)                                                     -
---------------------------------------------------------------------------------------------
-         1         - Record length                                                         -
---------------------------------------------------------------------------------------------
-         1         - Process identification number                                         -
---------------------------------------------------------------------------------------------
-         3         - Time stamp                                                            -
---------------------------------------------------------------------------------------------
-         2         - Job type/job number                                                   -
---------------------------------------------------------------------------------------------
-         8         - Processor id                                                          -
---------------------------------------------------------------------------------------------
-         8         - Hard physical address                                                 -
---------------------------------------------------------------------------------------------
-         8         - Launch status                                                         -
---------------------------------------------------------------------------------------------

NOTES: 

Each processor (except the one that is used to launch the system) logs a
processor launch information record.

Processor id 

Identifies the type of processor.

Hard physical address (HFA) 

The hard physical address of the processor.

Launch status 

1   = Can't create interrupt control stack; usually not enough memory.
-2  = Processor launch error; a hardware error.
-1  = Processor already configured.
0   = All OK.

Password changes log record, type 134 

          Table 8-21.  Password Changes Log Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (134)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      8                      - Target user name                            -
---------------------------------------------------------------------------------------------
-                      8                      - Target group name                           -
---------------------------------------------------------------------------------------------
-                      8                      - Target account name                         -
---------------------------------------------------------------------------------------------
-                      1                      - Type changed                                -
---------------------------------------------------------------------------------------------
-                      1                      - Input LDEV number                           -
---------------------------------------------------------------------------------------------
-                     25                      - Executed from                               -
---------------------------------------------------------------------------------------------
-                      3                      - Reserved                                    -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

System logging configuration record, type 135 

          Table 8-22.  System Logging Configuration Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (135)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - (Reserved)                                  -
---------------------------------------------------------------------------------------------
-                      1                      - LDEV number                                 -
---------------------------------------------------------------------------------------------
-                      4                      - System logging masking words                -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

Restore log record,type 136 

          Table 8-23.  Restore Log Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (136)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      8                      - File name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - File group                                  -
---------------------------------------------------------------------------------------------
-                      8                      - File account                                -
---------------------------------------------------------------------------------------------
-                      8                      - Creator                                     -
---------------------------------------------------------------------------------------------
-                     17                      - Volume identification                       -
---------------------------------------------------------------------------------------------
-                      1                      - Access type                                 -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

NOTES: 

The restore log record traces file restorations.  Files can be restored
from tape or serial disk.  This logging record can be enabled by SYSGEN,
followed by a START command.

Printer access failure log record, type 137 

          Table 8-24.  Printer Access Failure Log Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (137)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      2                      - Creator job number                          -
---------------------------------------------------------------------------------------------
-                      8                      - Creator job name                            -
---------------------------------------------------------------------------------------------
-                      8                      - Creator user name                           -
---------------------------------------------------------------------------------------------
-                      8                      - Creator account name                        -
---------------------------------------------------------------------------------------------
-                     25                      - Spoolfile name                              -
---------------------------------------------------------------------------------------------
-                      8                      - Target device name/class                    -
---------------------------------------------------------------------------------------------
-                      1                      - (Reserved)                                  -
---------------------------------------------------------------------------------------------
-                      2                      - File size                                   -
---------------------------------------------------------------------------------------------
-                      1                      - Status                                      -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

NOTES: 

This log keeps track of failed attempts attaching spoolfiles to printers.
New spoolfiles, which are logged by FOPEN as event #144, are not logged
here.

This log is initially disabled, but can be enabled by SYSGEN, followed by
a START command.

ACD changes log record, type 138 

          Table 8-25.  ACD Changes Log Record Format 
---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (138)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                     25                      - Target object name                          -
---------------------------------------------------------------------------------------------
-                     25                      - Source object name                          -
---------------------------------------------------------------------------------------------
-                      4                      - Function                                    -
---------------------------------------------------------------------------------------------
-                     25                      - Executed from                               -
---------------------------------------------------------------------------------------------
-                      2                      - Status                                      -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

NOTES: 

This log type is activated when ACDs are changed (created, deleted,
copied, or modified) with MPE commands or intrinsics.

The log can be enabled by SYSGEN, followed by a START command.

Job stream initiation log record, type 139 

          Table 8-26.  Stream Initiation Log Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (139)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                      1                      - Input LDEV                                  -
---------------------------------------------------------------------------------------------
-                     25                      - Job file name                               -
---------------------------------------------------------------------------------------------
-                      2                      - Job logon Job/session number                -
---------------------------------------------------------------------------------------------
-                      8                      - Job logon user                              -
---------------------------------------------------------------------------------------------
-                      8                      - Job logon group                             -
---------------------------------------------------------------------------------------------
-                      8                      - Job logon account                           -
---------------------------------------------------------------------------------------------
-                      8                      - Job name                                    -
---------------------------------------------------------------------------------------------
-                      2                      - Input spoolfile ID                          -
---------------------------------------------------------------------------------------------
-                      1                      - Scheduled date                              -
---------------------------------------------------------------------------------------------
-                      2                      - Scheduled time                              -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

User logging record, type 140 

          Table 8-27.  User Logging Record Format 

---------------------------------------------------------------------------------------------
|                   Length,                   |               Record Content                |
|                  in 16-bit                  |                                             |
|                    words                    |                                             |
---------------------------------------------------------------------------------------------
-                      1                      - Record type (140)                           -
---------------------------------------------------------------------------------------------
-                      1                      - Record length                               -
---------------------------------------------------------------------------------------------
-                      1                      - Process identification number               -
---------------------------------------------------------------------------------------------
-                      3                      - Time stamp                                  -
---------------------------------------------------------------------------------------------
-                      2                      - Job type/job number                         -
---------------------------------------------------------------------------------------------
-                     25                      - Program file name                           -
---------------------------------------------------------------------------------------------
-                      4                      - Intrinsic                                   -
---------------------------------------------------------------------------------------------
-                      2                      - Index                                       -
---------------------------------------------------------------------------------------------
-                      4                      - LOG ID*                                     -
---------------------------------------------------------------------------------------------
-                      1                      - Mode                                        -
---------------------------------------------------------------------------------------------
-                      1                      - Status                                      -
---------------------------------------------------------------------------------------------
-                      8                      - User name                                   -
---------------------------------------------------------------------------------------------
-                      8                      - Group name                                  -
---------------------------------------------------------------------------------------------
-                      8                      - Account name                                -
---------------------------------------------------------------------------------------------
-                      8                      - Job/session name                            -
---------------------------------------------------------------------------------------------

       *The LOG ID field in the log record contains "XXXXXX" for the
       CLOSELOG intrinsic when the index is bad.

NOTES: 

The user logging record log keeps track of all OPENLOG and CLOSELOG
intrinsic calls.  The system manager can use it to see who accesses, or
tries to access, the user logging facility.

This log is initially disabled, but can be enabled by SYSGEN, followed by
a START command.



MPE/iX 5.0 Documentation