TS/MP Pathsend and Server Programming Manual (G06.24+, H06.03+)
Pathsend Procedure Call Reference
NonStop TS/MP Pathsend and Server Programming Manual–132500
5-14
Syntax
dialog-id input
INT(32):value
is an identifier, previously returned from SERVERCLASS_DIALOG_BEGIN_, that
specifies the dialog for this send operation.
This parameter is required.
message-buffer input, output
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.
request-len input
INT:value
is the byte length of the data contained in message-buffer. The range of
acceptable values is 0 through 32767 bytes.
This parameter is required.
maximum-reply-len input
INT:value
is the maximum number of bytes that the reply message from the server class can
contain. The range of acceptable values is 0 through 32767 bytes.
No more than maximum-reply-len bytes of the actual reply are placed into
message-buffer upon successful completion of a send.
It is not an error if the server replies with a byte count not equal to the maximum-
reply-len value specified by the requester in the call to this procedure. If the
server replies with a byte count greater than the maximum-reply-len value, the
actual bytes transferred are truncated to maximum-reply-len.
This parameter is required.
actual-reply-len output
INT:ref:EXT:1
returns a count of the number of bytes returned in the server process reply. This
parameter is for waited I/O only and can be omitted for nowait I/O. The return value
of this parameter is 0 if nowait I/O is used. For nowait I/O, the actual reply length is
returned by AWAITIOX.