Pathway/iTS TCP and Terminal Programming Guide
Processing Unsolicited Messages
Compaq NonStop™ Pathway/iTS TCP and Terminal Programming Guide—426751-001
7-4
Unsolicited-Message TERMINATION-STATUS
Values
The ACCEPT verb in this example acts differently on a 6510 terminal than it does on
other terminals. On a terminal that is not a 6510, the visible cursor position is
unchanged because of the NO value in PW-USE-NEW-CURSOR; on a 6510, however,
the PW-USE-NEW-CURSOR special register has no effect and the visible cursor moves
to the screen location designated by a-field.
Unsolicited-Message TERMINATION-STATUS
Values
SCREEN COBOL requesters that process unsolicited messages should test for the
following TERMINATION-STATUS error codes:
13 A timeout or ESCAPE ON UNSOLICITED MESSAGE caused the TCP to issue
a CONTROL 26 call to the external front-end process. An I/O error occurred in
conjunction with the CONTROL 26 call; however, TERMINATION-
SUBSTATUS specifies the file system error code that was returned with the
CONTROL 26 completion. This value is returned only for SEND MESSAGE
statements.
14 A timeout or ESCAPE ON UNSOLICITED MESSAGE caused the TCP to issue
a CONTROL 26 call to the external front-end process. The front-end process did
not respond within the maximum allowable amount of time, however. This value
is returned only for SEND MESSAGE statements.
16 A RECEIVE UNSOLICITED MESSAGE statement was issued when a REPLY
TO UNSOLICITED MESSAGE was required. When processing unsolicited
messages, the requester must always reply to each received message before
issuing any subsequent RECEIVE UNSOLICITED MESSAGE statements.
17 A REPLY TO UNSOLICITED MESSAGE statement was issued when no
corresponding RECEIVE UNSOLICITED MESSAGE statement had been
previously executed.
18 A RECEIVE UNSOLICITED MESSAGE statement was issued when the
PATHCOM SET TERM parameter MAXINPUTMSGS was set, or defaulted, to
0. That PATHCOM parameter specifies the maximum number of unsolicited
messages that the TCP can have queued at any given time for the particular
requester.