TS/MP Pathsend and Server Programming Manual (G06.24+, H06.03+)

Pathsend Procedure Call Reference
NonStop TS/MP Pathsend and Server Programming Manual132500
5-6
SERVERCLASS_DIALOG_ABORT_ Procedure
SERVERCLASS_DIALOG_ABORT_ Procedure
The SERVERCLASS_DIALOG_ABORT_ procedure aborts the specified dialog.
A call to SERVERCLASS_DIALOG_BEGIN_ to begin a dialog must be matched by a
call to SERVERCLASS_DIALOG_ABORT_ or SERVERCLASS_DIALOG_END_ at
the end of the dialog.
Syntax
The syntax of the SERVERCLASS_DIALOG_ABORT_ procedure is:
error returned value
INT
returns an error word containing one of the following values:
dialog-id input
INT(32):value
is the dialog identifier previously returned from the
SERVERCLASS_DIALOG_BEGIN_ call that began the dialog.
This parameter is required.
Considerations
The following considerations apply to the SERVERCLASS_DIALOG_ABORT_
procedure:
If the server has opened $RECEIVE for system message handling and is using the
Common Run-Time Environment (CRE), aborting the dialog will cause the server to
receive a system message -121, PATHSEND DIALOG ABORT.
SERVERCLASS_DIALOG_SEND_ operations in progress within this dialog at the
time of the call to SERVERCLASS_DIALOG_ABORT_ are canceled.
error := SERVERCLASS_DIALOG_ABORT_ ( dialog-id ); ! i
0 (FEOK) indicates that the call was successful.
233 (FESCErr) indicates that an error occurred. You can call the
SERVERCLASS_SEND_INFO_ procedure to get more detailed
information about the error.