HPlogo HP3000 Application Notes

HP3000 Application Note #5

MPE SYSTEM LOGFILE RECORD FORMATS

APP Notes

Complete PDF


Application Note #4

Application Note #6

HP Part Number: 5958-5824-2620

Published: May 1 1986

Notice

MPE SYSTEM LOGFILE RECORD FORMATS

This document describes the record formats for HP 3000 system log files for both MPE IV and V. The details of system logging are discussed in Chapter 5 of the System Operation and Resource Management Reference Manual (P/N 32033-90005) - for MPE V/E systems or Chapter 6 of the MPE IV System Manager/System Supervisor Reference Manual (P/N 30000-90014) - for MPE IV and V/P.

The formats of most type of records are the same under MPE IV and MPE V. However, beginning with MPE V/E, a few changes were made primarily to accomodate the new larger PIN and LDEV number fields. In addition, the TYPE 4 record was enhanced to include PIN and CPU TIME fields.

INTRODUCTION

Log records are written to log files by MPE. This is done by calls to an internal procedure by the process that requires the recording of a particular event. The log records can by subsequently accessed, manipulated, and displayed through user-supplied analysis routines.

There are 21 types of log records that can be generated:

TYPE DESCRIPTION
0 Log Failure Record
1 System Up Record
2 Job Initiation Record
3 Job Termination Record
4 Process Termination Record
5 File Close Record
6 System Shutdown Record
7 Power Failure Record
8 Spoolfile Done Record
9 Line Disconnection Record
10Line Close Record
11I/O Error Record
12Physical Mount/Dismount Record
13Logical Mount/Dismount Record
14Tape Labels Record
15Console Log Record
16Program File Event Record
17Call Progress Signals Record
18DCE Provided Info Record
46MPE Maintenance Request Log Record
47Diagnostic Control Unit Log Record

Log records, although different in format, length, and content, always have the same heading:

Field Length (words)Contents
1Record Type
1Record Length
3Time Stamp
(As defined in the CLOCK and CALENDAR intrinsic
1
0Job Type1 2Job Number15


RECORD TYPE Defines the record as one of the 21 types listed before

RECORD LENGTH Defines the number of words that the record contains

TIME STAMP Date and time, in the same format used by the CLOCK and CALENDAR intrinsics, as shown below

JOB TYPE Type of main process being run, where bits 0 and 1 have the following meaning:
  00 = System
  01 = Session
  10 = Job
JOB NUMBER Number defining the job/session under which the log record has been output. If the last word is 0, this means that the record is related to the system and was not output for a user.

The TIME STAMP field as described above looks like this:

0Year (last 2 digits)6 7Day of Year15
0Hours7 8Minutes15
0Seconds7 8Tenth-of-Second15


DETAILED RECORD FORMATS

The remainder of this document describes each of the different record formats. When the MPE V and MPE IV formats differ, each is shown.

LOG ERROR RECORD (TYPE 0)

Field Length (words)ContentsValues Always Taken
1Record Type= 0
1Record Length= 10
3Time Stamp

1
0Job Type1 2Job Number15
2Missing Log Records

1Missing Job Initiations
1Missing Job Terminations



This record is issued after a recoverable logging error has occurred, and logging resumes.

JOB TYPE/JOB NUMBER
(1 word)

Always set to 0
MISSING LOG RECORDS
(2 words)

Total number of Log Record events occurring while the Logging System was suspended
MISSING JOB INITIATIONS
(1 word)

Number of jobs/sessions initiated while logging was suspended
MISSING JOB TERMINATIONS
(1 word)

Number of jobs/sessions terminated while logging was suspended
Note: The last three fields correspond to log records that would have been emitted if logging had not been suspended.

SYSTEM UP RECORD (TYPE 1)

Field Length (words)ContentsValues Always Taken
1Record Type= 1
1Record Length= 17
3Time Stamp

1
0Job Type1 2Job Number15
1Update Level
1Fix Level
1Core Size
1Available CST Size
1Available DST Size
1Available PCB Size
1IOQ Size
1TRL Size
1ICS Size
1Reserved
1Max # of Concurrent Running Jobs/Sessions



This record is issued after each cold-load or reload before the system is up.

JOB TYPE/JOB NUMBER
(1 word)

Always set to 0
UPDATE LEVEL (1 word)

Update level of the system, composed of two ASCII characters
FIX LEVEL (1 word)

Fix level of the system, composed of two ASCII characters
CORE SIZE (1 word)

Main-memory size in K (1024) words of memory
AVAILABLE CST SIZE
(1 word)

Number of entries in the Code Segment Table
AVAILABLE DST SIZE
(1 word)

Number of entries in the Data Segment Table
AVAILABLE PCB SIZE
(1 word)

Number of entries in the Process Control Block
IOQ SIZE (1 word)

Number of entries in the Input/Output Queue
TRL SIZE (1 word)

Number of entries in the Timer Request List
ICS SIZE (1 word)

Number of words in the Interrupt Control Stack
MAX # OF RUNNING JOBS
(1 word)

Maximum number of running jobs/sessions allowed in execution


JOB INITIATION RECORD (TYPE 2)

Field Length (words)ContentsValues Always Taken
1Record Type= 2
1Record Length= 30
3Time Stamp

1
0Job Type1 2Job Number15
4User Name

4Account Name

4Job Name

4Logon Group Name

1Input Logical Device Number
1Output Logical Device Number
1reserved
1
0reserved7 8Logon Queue15
2CPU Time Limit

1
0INPRI7 8OUPRI15
1reserved



This record is issued by the MPE Command Interpreter following a successful logon to MPE.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session
USER NAME (4 words)

User name as specified in the :JOB or :HELLO command, left-justified, blank-padded

ACCOUNT NAME (4 words)

Account name as specified in the :JOB or :HELLO command, left-justified, blank-padded

JOB NAME (4 words)

Job name as specified in the :JOB command, or the session name as specified in the :HELLO command, left-justified, blank-padded.
If jobname or sessionname was omitted, the words are filled with blanks.

LOGON GROUP NAME
(4 words)

Group name under which the logon was performed, left~justified, blank-padded.

INPUT LOGICAL DEVICE NUMBER
(1 word)

Logical device number of the standard input device for the job/session
OUTPUT LOGICAL DEVICE NUMBER
(1 word)

Logical device number of the standard listing device for the job/session
LOGON QUEUE
(1 byte, right-justified)

Single ASCII character representing the subqueue in which the job/session will execute; i.e. "B","C","D",or "E"
CPU TIME LIMIT
(2 words)
Double-word showing the central processor time limit as specified in the :JOB or :HELLO command. If no limit applied, the field contains -1. If omitted, the field contains 0.

INPRI (1 byte) Job selection priority as defined in the :JOB command, or the default value if no priority specified.

OUTPRI (1 byte) Job output priority as specified in the OUTCLASS parameter of the :JOB command, or 0 if no priority is specified or the job type is a session.



JOB TERMINATION RECORD (TYPE 3)

Field Length (words)ContentsValues Always Taken
1Record Type= 3
1Record Length= 12
3Time Stamp

1
0Job Type1 2Job Number15
1Maximum Priority
1Number of Creations
2CPU Time in Seconds

2Elapse Time in Minutes




This record is issued at the end of a job or session, regardless of the cause of the termination.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session
MAXIMUM PRIORITY
(1 word)

Lowest priority number (highest priority) ever run under by any process of the job/session. This value can range from 0 to 255.

NUMBER OF CREATIONS
(1 word)

Total number of processes created under the main process during the job/session

CPU TIME (2 words)

Double-word containing the total central processor time used (in seconds) by all processes of the job/session

ELAPSED TIME
(2 words)

Double-word containing the wall clock time (in minutes) during which the job/session has existed in the system. For a session, this time is called connect time



PROCESS TERMINATION RECORD (TYPE 4)
MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 4
1Record Length= 14
3Time Stamp

1
0Job Type1 2Job Number15
1# of Program File Segments
1# of SL Segments (Non-MPE)
1Maximum Stack Size Ever
1Maximum Data Segment Size Ever
1Cumulative Total of Virtual Storage
1PIN of Process
2CPU Time in Seconds



PROCESS TERMINATION RECORD (TYPE 4)
MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 4
1Record Length= 11
3Time Stamp

1
0Job Type1 2Job Number15
1# of Program File Segments
1# of SL Segments (Non-MPE)
1Maximum Stack Size Ever
1Maximum Data Segment Size Ever
1Cumulative Total of Virtual Storage



This record is issued when a user process other than a Main Process terminates.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session
# OF PROGRAM FILE SEGMENTS
(1 word)
Number of segments contained in the program file loaded on behalf of the process

# OF NON-MPE SL SEGMENTS
(1 word)
Number of segments from the segmented library (excluding MPE), loaded on behalf of the process

MAXIMUM STACK SIZE EVER
(1 word)
Largest size (in words) ever attained by the stack during process life

MAXIMUM DATA SEGMENT SIZE EVER
(1 word)
Largest size (in sectors) ever attained by an extra data segment during process life

CUMULATIVE TOTAL OF VIRTUAL STORAGE
(1 word)
Total amount of disc space (in sectors) requested for data (stack and extra data segments) during process life

The following two fields are also generated on MPE V systems:

PIN OF PROCESS (1 word) Process Identification Number of the process

CPU TIME (2 words) Double-word containing the central processor time used (in seconds) by the process



FILE CLOSE RECORD (TYPE 5)
MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 5
1Record Length= 29
3Time Stamp

1
0Job Type1 2Job Number15
1Expiration Date
9File Name

8reserved15




1
0Disposition7 8Domain15
2# of Sectors Allocated

1
0Device Type7 8reserved15
2# of Records Processed

2# of Blocks Processed

1Device Number

FILE CLOSE RECORD (TYPE 5)
MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 5
1Record Length= 28
3Time Stamp

1
0Job Type1 2Job Number15
9File Name

8reserved15




1
0Disposition7 8Domain15
2# of Sectors Allocated

1
0Device Type7 8Device Number15
2# of Records Processed

2# of Blocks Processed




This record is issued whenever a file is closed.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session
FILENAME (27 bytes) The filename.groupname.accountname of the file; each name is eight bytes long, left-justified with trailing blanks, with the 27th byte undefined

DISPOSITION (1 byte) File disposition as specified in the FCLOSE intrinsic

DOMAIN (1 byte) File domain, as specified in the FOPEN intrinsic

# OF SECTORS ALLOCATED
(2 words)
Physical space (in sectors) actually reserved on disc for the file. When the file does not reside on disc, this value is 0.

DEVICE TYPE (1 byte) Device type of the device on which the file resides, as returned by the FGETINFO intrinsic

RECORDS PROCESSED (2 words) Number of records processed since the last FOPEN on the file by the process

BLOCKS PROCESSED (2 words) Number of blocks written to and read from the file since the last FOPEN on the file by the process

DEVICE NUMBER Logical device number of the device on which the file resides

Note: The DEVICE NUMBER field is 1 word long on MPE V systems, but only 1 byte long on MPE IV systems.

SYSTEM SHUTDOWN RECORD (TYPE 6)

Field Length (words)ContentsValues Always Taken
1Record Type= 6
1Record Length= 9
3Time Stamp

1
0Job Type1 2Job Number15
1# of Jobs
1# of Sessions
1reserved= 0



This record is issued when the system is shutdown (by the =SHUTDOWN console command).

JOB TYPE/JOB NUMBER
(1 word)

Always set to 0
# OF JOBS (1 word) Number of jobs on the system when the command took effect

# OF SESSIONS (1 word) Number of sessions on the system when the command took effect



POWER FAILURE REORD (TYPE 7)

Field Length (words)ContentsValues Always Taken
1Record Type= 7
1Record Length= 7
3Time Stamp

1
0Job Type1 2Job Number15
1Auto Restart Flag= 0



This record is issued when a restart occurs following a power failure.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session
AUTO RESTART FLAG
(1 word)
Logical value representing the state of the restart flag



SPOOLFILE DONE RECORD (TYPE 8)

Field Length (words)ContentsValues Always Taken
1Record Type= 8
1Record Length= 34
3Time Stamp

1
0Job Type1 2Job Number15
= 0
4User Name

4Account Name

4Job Name

4File Name

1
0Job Type1 2Job Number15
1
I/O 1Device File ID15
1
0Device Type7 8Spoolee #15
1
0NUMCOPIES7 8OUTPRI15
2# Records Processed

2# Sectors Used

1
0Subtype7 reserved12FUNC15
1
0reserved9 10# LP/PP15
2# Physical Pages




This record is issued when a spooler completes loading a spoolfile.

JOB TYPE (2 bits)

00 = SESSION - Spoolfile originally created on another system by a session
01 = SESSION - Spoolfile created for a session on this system
10 = JOB - Spoolfile created for a job on this system
11 = JOB - Spoolfile originally created on another system by a job

Note: For job types 00 and 11, SPOOK was used to create the spoolfile on this system.

JOB NUMBER (14 bits) Number of job/session which originally created the spoolfile

I/O (1 bit) 0 = Input
1 = Output

DEVICE FILE ID (15 bits) Spoolfile ID number

DEVICE TYPE (1 byte) For Input spoolfiles - 0
For Output spoofiles - 32 (device type of a lineprinter)

SPOOLEE # (1 byte) For Input spoolfiles - the logical device number of the disc on which the spoolfile resided
For Output spoolfiles - the logical device number of the printer used

NUMCOPIES (1 byte) Number of copies that are yet to be printed for this spoolfile. For multiple copy spoolfiles, this number is decremented after each copy has been printed and a different spooling logging record exists for each copy printed. If there is only one copy to be printed, the field is 0.

# RECORDS PROCESSED
(2 words)
For Input spoolfiles - the number of lines in the Input spoolfile
For Output spoolfiles - the number of lines printed for this spoolfile

# SECTORS USED
(2 words)

Number of disc sectors that the spoolfile occupied on disc

SUBTYPE (1 byte) For Input spoolfites - 0
For Output spoolfiles - the subtype of the lineprinter used

If the SUBTYPE is that of the 2680A, subtype 8, then the following two fields will be non-zero. For any other lineprinter, the fields will contain zeros.

# PHYSICAL PAGES
(2 words)

Total number of physical pages printed

# LP/PP (6 bits) If the spoolfile is using a LPX type environment file, this field is defined as the number of logical pages per physical page when the spoolfile ended. NOTE: THIS VALUE CAN CHANGE WHILE THE SPOOLFILE IS PRINTING.

FUNC (4 bits) The last operation the spooler performs on the spoolfile:
   0 = normal completion
   1 = delete spoolfile
   2 = defer spoolfile
   3 = relink spoolfile


LINE DISCONNETION RECORD (TYPE 9)

Field Length (words)ContentsValues Always Taken
1Record Type= 9
1Record Length= 43
3Time Stamp

1
0Job Type1 2Job Number15
1Logical Device Number
2Time of Connection or Open

2# Output Data Transfers

2# Input Data Transfers

1# Recoverable Line Errors (Module 2**16)
1# Irrecoverable Line Errors (Module 2**16)
9Local ID Sequence

9Remove ID Sequence

10Phone Number of Remote




This record is issued when a data communication line is disconnected from the system either intentionally or due to an error.

ID sequences are significant for both switched and non-switched lines. The first byte is the length of the sequence. The remainder is the actual ID sequence (up to 16 bytes, left-justified with trailing blanks).

The phone number is significant only if the local system (MPE) performed the dialing for an outgoing call (up to 20 characters, left-justified with trailing blanks).

LINE CLOSE RECORD (TYPE 10)

Field Length (words)ContentsValues Always Taken
1Record Type= 10
1Record Length= 14
3Time Stamp

1
0Job Type1 2Job Number15
1Logical Device Number
3Time Stamp of Open

4Driver Name




This record is issued when a data communication line is closed.

The driver name may be up to eight ASCII characters in length, left-justified with trailing blanks.

I/O ERROR RECORD (TYPE 11)
MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 11
1Record Length= 21+n
3Time Stamp

1
0Job Type1 2Job Number15
1Error Index Word
1
A S D Y W B C F M P L R T   G
1Queue LDEV Number
1Miscellaneous (Driver Defined) Data
1Target Data Segment
1Target Data Address
1
0Unit7 8Function15
1Transmission Count (Negative if Bytes)
1Driver Defined Parameter = 1
1Driver Defined Parameger = 1
1
0reserved7 8Stat Qualifier12 13Stat15
1Process PCB Number
1
4Subtype7 8Device type15
1Hardware Unit Number
1DRT Number
nStatus Words Logged

I/O ERROR RECORD (TYPE 11)
MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 11
1Record Length= 19+n
3Time Stamp

1
0Job Type1 2Job Number15
1Error Index Word
1
A S D Y W B C F M P L R T   G
1
0Unit7 8Logical Device15
1Miscellaneous (Driver Defined) Data
1Target Data Segment
1Target Data Address
1Driver Function Code
1Transmission Count (Negative if Bytes)
1Driver Defined Parameter = 1
1Driver Defined Parameger = 1
1
0Process PCB Number7 8Stat Qualifier12 13Stat15
1
4Subtype7 8Device type15
1
0Unit Number7 8DRT15
nStatus Words Logged



This record is issued each time an I/O error occurs on the system.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session

ERROR INDEX WORD
(1 word)
First byte is number of error status words logged.
Second byte is Device Information Table relative index to words logged.

Description of bit flags in Word 8 All are single bit fields (except T, which is 2 bits long).
A "1" in any single bit field indicates:

A   (ABORT) Request has been aborted externally

S   (SPECIAL) Special handling is to be applied to this request; for disc this indicates a Memory Management request

D   (DIAG) Diagnostic request (not used)

Y   (SYSBUFR) Indicates the target data segment is irrelevant; the target data address is the absolute main memory address of the buffer

W   (IOWAKE) Wake caller on completion of request

B   (BLOCKED) Blocked I/O; caller is waited until request is completed

C   (COMPLETED) Request has been completed and caller is awake if he had so specified

F   (DATAFRZN) Data segment has been made present and is frozen

M   (MEMERRORD) MAM error on data segment make-present

P   (PREQ) This request has been started but was preempted by a MAM request

L   (SFAIL) Start SIO failure in General Interrupt Processor

R   (PFAIL) The I/O has been aborted because of a power failure

T   (PREEMPT) Preemptive type code: l=soft, 2=hard

G   (MSGDONE) A message request reply has been completed

DRIVER FUNCTION CODE Generally a number indicating a particular driver action, such as: 0 = read; 1= write

TRANSMISSION COUNT
(1 word)
Final transfer count (if any) for this I/O request. If positive, it indicates words; if negative, it indicates a byte count

DRIVER PARAMETER 1
(1 word)

Defined within the I/O system for various drivers

DRIVER PARAMETER 2
(1 word)

Defined within the I/O system for various drivers

PROCESS PCB NUMBER
Is zero if not associated with a user process

STAT (3 bits) Indicates current and resultant state of the request:
0 = Not started, or awaiting completion
1 = Successful completion
2 = End of file detected
3 = Unusual condition (normally recoverable)
4 = Irrecoverable error
Note: The PROCESS PCB NUMBER, HARDWARE UNIT NUMBER, and DRT NUMBER fields are 1 word long on MPE V systems, but only 1 byte on MPE IV systems. Likewise, the DRIVER FUNCTION CODE is only 1 byte long on MPE V systems, but 1 word long on MPE IV systems.

Therefore, the record length is (21 + the number of status words logged) - on MPE V systems or (19 + the number of status words logged) - on MPE IV systems.

PHYSICAL MOUNT/DISMOUNT RECORD (TYPE 12)

Field Length (words)ContentsValues Always Taken
1Record Type= 12
1Record Length= 24
3Time Stamp

1
0Job Type1 2Job Number15
1
0Volume Table Index7 8Type/Stat11 CLMD
1
4Device Subtype7 8Logical Device #15
4Volume Name

4Volume Set Name

4Volume Set Group

4Volume Set Account




This record is issued each time a volume is physically mounted or dismounted on the system.

JOB TYPE/JOB NUMBER
(1 word)

Type and number of job/session

VOLUME TABLE INDEX
(8 bits)

Index into the volume table for this volume

TYPE/STAT (4 bits)
0 = Valid Private Volume4 = Unreadable Volume
1 = Scratch Volume 5 = Serial Disc Volume
2 = System Volume 6 = Foreign Volume
3 = Unformatted Volume

CL (1 bit) 0 = Mount/Dismount detected by auto recognition
1 = Volume mounted at Coldload time

MD (2 bits) 0 = Mount
1 = Dismount
2 = New volume created by INIT funct

Note: VOLUME NAME, VOLUME SET NAME, VOLUME SET GROUP, VOLUME SET ACCOUNT fields are meaningful only if MD is 0 or 2.

LOGICAL MOUNT/DISMOUNT RECORD
(TYPE 13) MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 13
1Record Length= 41
3Time Stamp

1
0Job Type1 2Job Number15
1
0No. of Accessors11 12TR14 MD
1PIN of Accessor
4User Name

4Group Name

4Account Name

4Volume Set Name

4Volume Set Group

4Volume Set Account

1# Volumes Mounted/Dismounted
1
0Device Subtype7 81st Volume LDEV15
1
0Device Subtype7 82nd Volume LDEV15
1
0Device Subtype7 83rd Volume LDEV15
1
0Device Subtype7 84th Volume LDEV15
1
0Device Subtype7 85th Volume LDEV15
1
0Device Subtype7 86th Volume LDEV15
1
0Device Subtype7 87th Volume LDEV15
1
0Device Subtype7 88th Volume LDEV15

LOGICAL MOUNT/DISMOUNT RECORD
(TYPE 13) MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 13
1Record Length= 41
3Time Stamp

1
0Job Type1 2Job Number15
1
0reserved11 12TR14MD
1
0No. of Accessors7 8PIN of Accessor15
4User Name

4Group Name

4Account Name

4Volume Set Name

4Volume Set Group

4Volume Set Account

1# Volumes Mounted/Dismounted
1
0Device Subtype7 81st Volume LDEV15
1
0Device Subtype7 82nd Volume LDEV15
1
0Device Subtype7 83rd Volume LDEV15
1
0Device Subtype7 84th Volume LDEV15
1
0Device Subtype7 85th Volume LDEV15
1
0Device Subtype7 86th Volume LDEV15
1
0Device Subtype7 87th Volume LDEV15
1
0Device Subtype7 88th Volume LDEV15



This record is issued when a disc volume is logically mounted or dismounted.

TR (3 bits) Type of request -
0 = :MOUNT/:DISMOUNT with directory binding
1 = :MOUNT/:DISMOUNT without directory binding
2 = Unconditional implicit mount
3 = Conditional implicit mount
4 = :LMOUNT/:LDISMOUNT
5 = Dismount due to job/session termination

MD (1 bit) 0 = Mount
1 = Dismount

Note: The NO. OF ACCESSORS field is 12 bits long on MPE V systems, but only 8 bits long on MPE IV systems. Likewise, the PIN OF ACCESSOR field is 1 word long on MPE V systems, but only 1 byte long on MPE IV systems.

TAPE LABELS LOG RECORD (TYPE 14)
MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 14
1Record Length= 31
3Time Stamp

1
0Job Type1 2Job Number15
1Logical Device Number
1
0FT1 2File Sequence Number15
1
0File Number7 Seq Type Type TM A L W
1
0reserved7 8Volume Seq. Num.15
1Expiration Date
9File Name

8reserved15




4Lockword

3Volume Set ID

3Volume ID

1PIN Number


TAPE LABELS LOG RECORD (TYPE 14)
MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 14
1Record Length= 30
3Time Stamp

1
0Job Type1 2Job Number15
1
reserved 8Logical Device Number15
1
0FT1 2File Sequence Number15
1
0File Number7 Seq Type Type TM A L W
1
0PIN Number7 8Volume Seq. Num.15
1Expiration Date
9File Name

8reserved15




4Lockword

3Volume Set ID

3Volume ID




This record is issued when a labelled tape is mounted.

FT (1 bit) 1 = At least one read/write completed

SEQ TYPE (2 bits) 0 = Search for match on filename
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

TM (1 bit) User trailer label

A (1 bit) User header label

L (1 bit) Job entry linked to logical device

W (1 bit) Wait for mount

Note: The LOGICAL DEVICE NUMBER and PIN NUMBER fields are 1 word long on MPE V systems, but only 1 byte long on MPE IV systems.

CONSOLE LOG RECORD (TYPE 15)

Field Length (words)ContentsValues Always Taken
1Record Type= 15
1Record Length= 7+n
3Time Stamp

1
0Job Type1 2Job Number15
1Byte Length of Console Line
(< 0 if input > 0 if output)
nConsole Input or Output Line
length dependent on byte length of console line



This record is issued when a line is output to the console or any console command is entered, from any device. This does not include other MPE commands or their output, even on the console terminal.

NOTE: The length of the console line found in word 7 of the log record is the actual number of characters transmitted to the console. This value may be greater that the number of characters found in the log record because the maximum size of the log record is currently set at 99 words.

PROGRAM FILE EVENT RECORD (TYPE 16)

Field Length (words)ContentsValues Always Taken
1Record Type= 16
1Record Length= 23
3Time Stamp

1
0Job Type1 2Job Number15
1Event type
1Delta P
1Status
14Program File Name




This record is issued when a program file event occurs.

Note: If EVENT TYPE = 0 (Stack Underflow Recovery), DELTA P and STATUS are not applicable.

Currently, the only defined Program File Event is 0, Stack Underflow Recovery. In general, this occurs because a program uses outmoded constructs, emitted by earlier versions of compilers, which are trapped and "manually" executed by system software. Recompiling such a program with a current compiler will correct the problem.

CALL PROGRESS SIGNALS LOG RECORD
(TYPE 17) MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 17
1Record Length= 8
3Time Stamp

1
0Job Type1 2Job Number15
1CPS Message Number
1DS LDEV Number


CALL PROGRESS SIGNALS LOG RECORD
(TYPE 17) MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 17
1Record Length= 7
3Time Stamp

1
0Job Type1 2Job Number15
1
0DS LDEV Number7 8CPS Message Number15



This record is issued when a call over a X.21 line fails.

Note: The CPS MESSAGE NUMBER and DS LDEV NUMBER fields are 1 word long on MPE V systems, but only 1 byte long on MPE IV systems.

DCE PROVIDED INFORMATION RECORD
(TYPE 18) MPE V

Field Length (words)ContentsValues Always Taken
1Record Type= 18
1Record Length= 10
3Time Stamp

1
0Job Type1 2Job Number15
1CPS Message Number
1DS LDEV Number
2CPS Message Number Dependent info (shown below)



DCE PROVIDED INFORMATION RECORD
(TYPE 18) MPE IV

Field Length (words)ContentsValues Always Taken
1Record Type= 18
1Record Length= 9
3Time Stamp

1
0Job Type1 2Job Number15
1
0DS LDEV Number7 8CPS Message Number15
2CPS Message Number Dependent info (shown below)



CPS Message Number Dependent Info Field:

if CPS message number = 1 (Charge info type 1) -
0
Monetary Charge (no fraction)

if CPS message number = 2 (Charge info type 2) -
1
Monetary Charge (w/fraction)

if CPS message number = 3 (Charge info type 3) -
 
Time (seconds)

if CPS message number = 10 (Line ID signal) -
 
Units

if CPS message number is not one of the above -
0
International Data Number

or
1
National Number or Network Terminal Number

This record is issued at the end of a call over a X.21 line.

Note: The CPS MESSAGE NUMBER and DS LDEV NUMBER fields are 1 word long on MPE V systems, but only 1 byte long on MPE IV systems.

MPE MAINTENANCE REQUEST LOG RECORD (TYPE 46)

Field Length (words)ContentsValues Always Taken
1Record Type= 46
1Record Length= 14+n
3Time Stamp

1
0Job Type1 2Job Number15
1Logical Device number
1Device Type
1Device Subtype
1Maintenance Request type (Device Dependent)
1Parameter (E.G. Head Number)
1Record Number (in Sequence of Sub-Records)
1Total Number of Bytes to be Logged
1Bytes Logged in this Record
nLogged Data




This record is issued when MPE needs to log maintenance information for one of the system's devices.

DIAGNOSTIC CONTROL UNIT LOG RECORD (TYPE 47)

Field Length (words)ContentsValues Always Taken
1Record Type= 47
1Record Length= 9+n
3Time Stamp

1
0Job Type1 2Job Number15
1Record Number (in Sequence of Sub-Records)
1Total Number of Bytes to be Logged
1Bytes Logged in this Record
nLogged ASCII Data




This record is issued (only on Series 6x systems) when the DCU needs to log information.





Application Note #4

Application Note #6