TS/MP 2.5 Pathsend and Server Programming Manual
The completion of this processing that is, getting the final outcome (success or failure) and, if
successful, the reply data occurs in one of the 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 :=
SERVERCLASS_DIALOG_SEND_
! i
!
( dialog-id
,message-buffer
i,o
! i
! i
,request-len
,maximum-reply-len
! o,[ actual-reply-len ]
! i,[ timeout ]
! i,[ flags ]
! o
! i
,[ scsend-op-num ]
,[ tag ] );
returned value
error
INT
returns an error word containing one of these values:
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 detailed information about the error.
inputdialog-id
INT(32):value
is an identifier, previously returned from SERVERCLASS_DIALOG_BEGIN_, that specifies the dialog
for this send operation.
This is a mandatory parameter.
input, outputmessage-buffer
STRING:ref:EXT:*
contains the message to send to the server-class. On successful completion of the send operation,
message-buffer contains the reply from the server-class.
86 Pathsend Procedure Call Reference










