Standalone Logtool for MPE/iX

contains the record definition command that identifies the remainder of the data and the "specification field" that
contains all of the parameters and arguments required by a particular control command. The specification field may
span multiple lines. The terminator of a specification field is another command. Commands must be the first character
of a line with no preceding white space (i.e., they must start at column 1). Comments can be embedded within the
specifications field by using braces { }.
_________________________________________________
| | |
Command Field Specification Field
The following example should clarify these concepts:
COMMENT The "COMMENT" is a record definition command.
The body of the comment is called the specification
field (that is what you are reading now). Notice that
this field can span as many lines as desired.
A new control command ends the specification field.
RECORD`ID 23 {This is a comment too}
COMMENT The above line has "RECORD`ID" as the Command
and "23" as the specification field.
On MPE/iX, the record definition file can be created with any editor, but must be kept as a Fixed ASCII 80-Byte
Unnumbered file.
Record Definition Commands
The following section describes the various commands that can be used in a record definition file. All commands are
terminated by finding a new command (remember, all commands must start at column one). Command names may be
abbreviated to the shortest unambiguous number of characters. For example, the FIELD`FORMAT command could be
abbreviated to F since no other commands begin with the letter F.
COMMENT
The COMMENT command allows one to separate record definitions and supply useful information to the maintainer of the
file. Comments are ignored.
Syntax:
COMMENT <anything may follow>
Example:
COMMENT This is a comment.
It spans several lines.
RECORD`ID
This command must precede all commands which specify an attribute of a RECORD`ID. It identifies the numeric
RECORD`ID that can be used to distinguish log entries in the system log file. All commands following (until the next
RECORD`ID or TAG`ID) are assumed to belong to the current RECORD`ID.
Syntax:
RECORD`ID <record id #>
Notes: RECORD`ID numbers must be between 0 and 255. Examples: