ENFORM User's Guide
How to Change the Message Table
Changing The Message Table Text
E–2 058058 Tandem Computers Incorporated
Guidelines for Creating a
Message Table for the
Current Session
When you create a new message table for the current ENFORM session, ENFORM
allows you to include only a ?VOCABULARY section (ENFORM uses your reserved
words with the standard messages and help text), only ?MESSAGES and ?HELP
sections (ENFORM uses your messages and help text with the standard reserved
words), or ?VOCABULARY, ?MESSAGES, and ?HELP sections (ENFORM uses your
message table and ignores the standard message table). To create and use the new
message table, perform the following tasks:
1. Create a new Edit file version of the message table. Depending on your needs,
you can either create an Edit file for your message text or use the File Utility
Program (FUP) DUP command to make a copy of ENFORMMT (the Edit version
of the default message table) and make changes to the copy. In either case, the
format and contents of the Edit file must be consistent with the rules described
later in this appendix under 'Required Format of the Edit File'.
2. Select a name for the key-sequenced version of the message table and use the
Command Interpreter PURGE command to purge any existing file with that name.
3. Create the disc file for the key-sequenced version of the message table by issuing
the following commands:
:FUP
-SET TYPE K
-SET EXT (32,0)
-SET REC 289
-SET IBLOCK 4096
-SET BLOCK 4096
-SET KEYOFF 0
-SET KEYLEN 34
-CREATE
key-sequenced-filename
where key-sequenced-filename is the name you have chosen for the disc file.
4. Convert the Edit file into a key-sequenced file by executing BUILDMK. To execute
BUILDMK, enter:
BUILDMK
edit-file-name
,
key-sequenced-filename
where edit-file-name is the name of the disc file for the Edit version and key-
sequenced-filename is the name of the disc file for the key-sequenced version.
Figure E-1 illustrates the preceding steps. In this example, a ?VOCABULARY section
that translates the reserved words into German is created in an Edit file named newemt;
FUP is used to create newemk, the key-sequenced version; and BUILDMK is used to
convert newemt to newemk.