ENFORM User's Guide

How to Change the Message Table
Changing The Message Table Text
058058 Tandem Computers Incorporated E–5
The example shown in Figure E-2 illustrates the preceding steps.
Figure E-2. Replacing the Default Message Table
1. Specify the volume and subvolume on which the default message table resides in
the Command Interpreter VOLUME command.
:VOLUME mysyst.mysyst
2. Make a Backup Copy of ENFORMMT and ENFORMMK.
:FUP DUP ENFORMMT, backupmt
:FUP DUP ENFORMMK, backupmk
3. Edit ENFORMMT and make the desired changes to the message table text.
:EDIT ENFORMMT
* ADD
2000 ?HELP DDL
2001 Before using ENFORM to retrieve data, you must use
2002 DDL to describe data base fields, records, and
2003 files. DDL creates the dictionary used by ENFORM
2004 to obtain information about your data base.
2005
2006 The example below shows a DDL RECORD statement that
...
2026 ?HELP Query Processor
...
4. Purge ENFORMMK.
:PURGE ENFORMMK
5. Use FUP to create the disc file for the new key-sequenced version.
:FUP
-SET TYPE K
-SET EXT (32,0)
-SET REC 289
-SET IBLOCK 4096
-SET BLOCK 4096
-SET KEYOFF 0
-SET KEYLEN 34
-CREATE enformmk
6. Execute BUILDMK.
:BUILDMK enformmt, emformmk
When you run ENFORM, ENFORM uses the new version of the default message table.
You need not specify the message-table-filename option of the ENFORM command
because you have changed the system default.