ENFORM User's Guide
How to Change the Message Table
Changing The Message Table Text
058058 Tandem Computers Incorporated E–3
Figure E-1. Creating a Message Table for the Current Session
1. Create an Edit file version of the message table that contains the desired text.
:EDIT newemt !
*ADD 1
* 1 ?VOCABULARY
* 2 MITTELWERT=AVG, ORDNUNG=BY, ZEIGE=LIST,
* 3 UEBER=OVER, WOBEI=WHERE, MITTIG=CENTER,
* 4 ALLE=ALL, BIS=THRU, FORMAT=AS, EROEFFNE=OPEN
* ... ...
2. Purge any existing file with the same name as the name you selected for the key-
sequenced version.
:PURGE newemk
3. Use FUP to 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 newemk
4. Execute BUILDMK to convert the Edit file version to the key-sequenced version.
:BUILDMK newemt, newemk
To use the message table created in Figure E-1, you must identify newemk on the
ENFORM command:
:ENFORM,newemk
ENFORM then allows you to use the redefined words during the current session:
>EROEFFNE
employee
;
>ZEIGE ORDNUNG
regnum
,
ORDNUNG
branchnum
,
MITTELWERT (
salary
UEBER
branchnum
)
FORMAT M
Z,ZZZ,999
,
MITTELWERT (
salary
UEBER
regnum
) FORMAT M
Z,ZZZ,999
,
WOBEI
regnum
= 1 BIS 2,
MITTIG ALLE;