COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-66
RECEIVE-CONTROL Paragraph
Each entry in the receive-control table records which requester opened the server
process and which open operation the requester used (if a requester opens the
server process more than once).
table-length
is an unsigned integer numeric literal in the range 1 through 255. The default
value is 1.
EXTENDED-STORAGE
allows saved messages to be stored in extended storage. The conditions for its
use are:
The program must open $RECEIVE (otherwise, EXTENDED-STORAGE is
irrelevant)
The program does not run in the CRE (that is, it was compiled by the
COBOL85 compiler without the ENV COMMON or ENV LIBRARY
directive).
If the program runs in the CRE, the saved messages are automatically
stored in extended storage if they exceed an internal threshold value.
The product of table-length, the length of the saved message, and
sync-id, plus the sizes of all the data items in the Extended-Storage
sections of all the programs in the run unit cannot exceed 134,217,214
characters. (The length of the saved message is specified by the REPLY
CONTAINS phrase.)
SYNCDEPTH LIMIT phrase
establishes the length of the reply table, controlling how many replies are saved for
each requesting process (opener).
sync-id
is an unsigned integer numeric literal in the range 1 through 255. In any
requester process that opens the server process, the value in the
SYNCDEPTH phrase of the OPEN statement cannot exceed sync-id.
When you do not use the SYNCDEPTH LIMIT phrase, sync-id defaults to 1. A
Pathway server never needs a SYNCDEPTH LIMIT greater than 1.
SYNCDEPTH
LIMIT
sync-id
IS
VST065.vsd