User guide

Writing ENFORM Servers
ENFORM Servers
7–14 058058 Tandem Computers Incorporated
The RECORD-INPUT-REPLY message is bound by the following word size
restrictions:
MAX-MSG-WZ 4096 words
This is maximum size for RECORD-INPUT-REQUEST
and RECORD-INPUT-REPLY messages.
MAX-DATA-WZ 2048 words
This is the maximum key-sequenced ENSCRIBE record
size.
MAX-MSG-HEADER-WZ 26 words
This is ENFORM header word size.
MAX-CB-WZ (4096-2048-26-4 ) = 2018 words
This is the maximum user control block size.
TERMINATE-INPUT-REQUEST Message
The query processor sends this message to an ENFORM server to indicate there are no
more requests. The message format and DDL description for the TERMINATE-
INPUT-REQUEST message are shown in Figure 7-7.
Figure 7-7. Message Format and DDL Description for the TERMINATE-INPUT-REQUEST Message
DEF terminate-input-request-def .
05 ENFORM-server-header-def TYPE * .
END
0: REPLY-CODE
1: APPLICATION-CODE
2: FUNCTION-CODE
3: TRANS-CODE
4-11: TERM-ID,LOG-REQUEST (unused)
12: ERROR-CODE
13-24: FILE-NAME
25: FILE-ERROR