TS/MP 2.5 Pathsend and Server Programming Manual

Syntax
The syntax of the SERVERCLASS_DIALOG_SENDL_ procedure is:
error :=
SERVERCLASS_DIALOG_SENDL:_
! i
! i,o
( dialog-id
,message-buffer,
! o[reply-buffer]
! i,request-len
! i,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, if
the reply-buffer is not mentioned, the message-buffer contains the reply from the server-class.
This is a mandatory parameter.
outputreply-buffer
STRING .EXT:ref.*
Contains the reply from the serverclass, on successful completion of the send operation.
inputrequest-len
INT(32):value
is the byte length of the data contained in the write-buffer. The range of acceptable values is 0
through 2097152.
SERVERCLASS_DIALOG_SENDL_ Procedure 89