TS/MP Pathsend and Server Programming Manual (H06.05+, J06.03+)

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.
23, 3
(FESCErr) indicates that an error occurred. You can call the SERVERCLASS_SEND_INFO_
procedure to get more 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 parameter is required.
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.
This parameter is required.
inputrequest-len
INT:value
is the byte length of the data contained in message-buffer. The range of acceptable values is 0
through 32767 bytes.
SERVERCLASS_DIALOG_SEND_ Procedure 87