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

Pathsend Procedure Call Reference
NonStop TS/MP Pathsend and Server Programming Manual132500
5-13
SERVERCLASS_DIALOG_SEND_ Procedure
SERVERCLASS_DIALOG_SEND_ Procedure
The SERVERCLASS_DIALOG_SEND_ procedure initiates a send within the specified
dialog.
The completion of this processing—that is, getting the final outcome (success or failure)
and, if successful, the reply data—occurs in one of two ways, depending on whether the
send operation is initiated as waited or nowait:
For waited send operations, initiation and completion are both performed by the
SERVERCLASS_DIALOG_SEND_ procedure.
For nowait send operations, initiation is performed by the
SERVERCLASS_DIALOG_SEND_ procedure, and completion is performed by the
AWAITIOX procedure.
This procedure is similar to the context-free SERVERCLASS_SEND_ procedure, with a
few differences as described under “Considerations.
Syntax
The syntax of the SERVERCLASS_DIALOG_SEND_ procedure is:
error returned value
INT
returns an error word containing one of the following values:
error := SERVERCLASS_DIALOG_SEND_
( dialog-id ! i
,message-buffer !
i,o
,request-len ! i
,maximum-reply-len ! i
,[ actual-reply-len ] ! o
,[ timeout ] ! i
,[ flags ] ! i
,[ scsend-op-num ] ! o
,[ tag ] ); ! i
0 (FEOK) indicates that the call was successful and the server has ended the
dialog.
70 (FEContinue) indicates that the call was successful and the server is ready
for the next message in the dialog.
233 (FESCErr) indicates that an error occurred. You can call the
SERVERCLASS_SEND_INFO_ procedure to get more detailed
information about the error.