ENFORM User's Guide

Appendix E Changing the Message
Table Text
058058 Tandem Computers Incorporated E–1
ENFORM retrieves error message text, help message text, and reserved word
redefinitions from a special key-sequenced file, called the ENFORM message table.
Tandem supplies a default version of the message table in ENFORMMK, a key-
sequenced file that contains the ENFORM message and help text. ENFORM allows
you to modify the message table so that you can:
Redefine the ENFORM reserved words, system variable names, option variable
names, and command names. For example, you can translate these words into a
language other than English or create your own abbreviations.
Change the content of the ENFORM warning, error, and informational messages.
For example, you can add information to these messages or translate the messages
into a language other than English.
Modify the content of the help text by either changing the existing text or adding
your own text. For example, you could add help text that describes the Data
Definition Language (DDL).
How to Change the
Message Table
To change the message table, perform the following:
1. Create an Edit file version of the message table. When you create the Edit file
version, the contents of the Edit file must conform to a prescribed format
(described in detail later in this section). Briefly, you must place any redefinitions
in a section called ?VOCABULARY, any message text in section called
?MESSAGES, and any help text in a section called ?HELP.
2. Convert the Edit file version of the message table into a key-sequenced version.
To simplify the process of modifying the message table, Tandem supplies two files in
addition to ENFORMMK. These files are: ENFORMMT, an Edit file version of the
default message table and BUILDMK, a file containing object code that converts the
Edit version of the message table into the special key-sequenced file required by
ENFORM. Consult your system manager for the name of the volume and subvolume
on which ENFORMMK, ENFORMMT, and BUILDMK reside.
ENFORM allows you to create a new message table for either of the following
purposes:
To use as the new message table for the current ENFORM session. In this case,
you identify the key-sequenced file containing the message table in the message-
table-filename option of the ENFORM command.
To replace the default message table. ENFORM uses the new message table for all
ENFORM sessions. Note that replacing the default message table affects all
individuals in the system who use ENFORM and do not specify their own
message table.
The following paragraphs provide guidelines to be followed when creating a message
table for the current ENFORM session or when creating a message table to replace the
default message table.