Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)
Procedure Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual—426750-003
6-51
DIALOG-SEND
Termination Status Error Messages of PATHTCP4
TERMINATION-STATUS 19
Cause. This error is not used in Pathway/iTS 1.1 and is retained to facilitate
compatibility with the existing applications.
TERMINATION-STATUS 22
Cause. While running a DIALOG-END statement, TCP found that the associated
dialog has been aborted because of a primary TCP failure. The message did not reach
the server process. The associated dialog is already aborted. The SCOBOL requester
must now end the dialog by calling DIALOG-END.
Action Without ON ERROR Clause. The system aborts the terminal.
DIALOG-SEND
The DIALOG-SEND statement continues a dialog with a Pathway server process
within a previously initiated dialog through DIALOG-BEGIN statement. The DIALOG-
SEND statement includes the message and a list of reply specifications.
In processing the DIALOG-SEND statement, the TCP retains the reply code values to
use when the server sends the reply. On receiving a reply, the TCP compares the reply
code value to the list of reply code values and determines which reply was received
and, consequently, determines the structure of the data. The TCP then copies the reply
into the SCREEN COBOL program. A DIALOG-SEND statement must be made only
when the SCOBOL TERM is under an active dialog, that is, after a successful call to
DIALOG-BEGIN. If a DIALOG-SEND statement is issued without the term under active
dialog, irrespective of whether ON ERROR clause is specified or not, TCP aborts the
terminal after reporting the error to PATHMON.
PATHMON LICENSE ERROR
DIALOG INVALID
DIALOG-SEND [
identifier-1
] ,...
[ REPLY { CODE {
reply-code-value
} ...
YIELDS [ VARYING ] {
identifier-2
} ... } ...
CODE OTHER YIELDS [ VARYING ] {
identifier-2
} ...
[ ON ERROR
imperative-statement
]










