Standalone Logtool for MPE/iX
MPEXLSTAT Specifies this field to be interpreted as an MPE/iX Operating System status. LOGTOOL will display a text
message from the system message catalog corresponding to the value obtained. If a message cannot be
found in the catalog, the value will be displayed in the report. This type requires that the <#bits>
parameter given is 32.
LLIOSTAT Specifies this field is to be interpreted as an MPE/iX Low Level I/O status. LOGTOOL will display a text
message from the system message catalog corresponding to the value obtained. If a message cannot be
found in the catalog, the value will be displayed in the report. This type requires that the <#bits>
parameter given is 32.
TIME Specifies this field is to be interpreted as a timestamp produced from the CLOCK intrinsic. The time
obtained will be obtained in a native Language format. This type requires that the <#bits> parameter
given is 32.
DATE Specifies this field is to be interpreted as a datestamp produced from the CALENDAR intrinsic. The
date will be displayed in a native Language format. This type requires that the <#bits> parameter given
is 16.
HARDSTAT This specifies that this field is to be interpreted as device hardware status. The hardware status bytes
found in this field will be translated into text form. This type can only be successfully used for the I/O
ERROR (111) record type. Use of this type for any other record id will produce unpredictable results.
DIAGSTACK This specifies that this field is to be interpreted as a diagnostic error stack. The diagnostic error stack
found in this field will be translated into text form. This type can only be successfully used for the
DIAGNOSTICS (150) record type. Use of this type for any other record id will produce unpredictable
results.
Syntax:
FIELD`FORMAT <field list>
<field list> ::= <repeat factor> (<field def>) |
<repeat factor> (<field def>) <field list>
<repeat factor> ::= an integer | <nil>
<field def> ::= <#bits>, JUNK |
<#bits>, STRING |
<#bits>, ARRAY |
<#bits>, ASCII |
<#bits>, LLIOSTAT |
<#bits>, MPEXLSTAT |
<#bits>, TIME |
<#bits>, DATE |
<#bits>, INTEGER, <base> |
<#bits>, INTEGER, <base>, TAG, <#bits>
<#bits> ::= 0 .. 16256
<base> ::= 2 | 8 | 10 | 16
Notes:
The total # of bits must match the record length specification.
The number of fields must match the N`FIELDS specifications.
ARRAY, ASCII, & STRING data must start on byte boundaries.
ARRAY, ASCII, & STRING data must be multiples of 8 bits in length.
ARRAY, ASCII, & STRING data can have a maximum of 132 bytes.
ARRAY data will always print out in whole bytes.
Integer data is at most 64 bits long.
The length given for string data should include the overhead bytes value.
Examples:
FIELD`FORMAT 2(32,INTEGER,16) (160,ASCII)(3,INT,8)(13,JUNK)
(64,STRING) (64,ARRAY) (12,INTEGER,10,TAG,20)
- TWO (2) 32 bit integer fields printed in HEX