TS/MP 2.5 Pathsend and Server Programming Manual

This is a mandatory parameter.
inputmaximum-reply-len
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 maximumreply-len value
specified by the requestor 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 is a mandatory parameter.
outputactual-reply-len
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.
inputtimeout
INT(32):value
specifies the maximum amount of time, in hundredths of a second, that the ACS Subsystem ROUT
process waits for the completion of this send. This value must be either -1D or a value greater than
0D. The default is -1D (wait indefinitely).
If there is an outstanding I/O operation to a server process when a SERVERCLASS_SEND_ operation
times out, the I/O operation is canceled.
For information about timeout for waited and nowait operations, see Timeout Considerations for
Pathsend Programming” (page 111).
For more information about Pathsend error 904 and file-system error 40, see “Server Timeout”
(page 111).
inputflags
INT:value
flags.<15> indicates that this operation is to be performed nowait if the value is 1. A value
of 0 indicates that this operation is to be performed waited. The default is 0.
flags.<0:14> must be 0.
NOTE: For information on setting flag 9, see “Bridging Pathsend API into Pathway Domain
(page 113).
outputscsend-op-num
INT:ref:EXT:1
returns the server-class send operation number. You can use the server-class send operation number
in place of the file number parameter in calls to CANCEL, CANCELREQ, and AWAITIOX for nowait
sends, and in calls to FILEINFO for waited and nowait sends, to indicate that the calls refer to
server-class send operations. The value of scsend-op-num is determined on the first successfully
initiated nowait send. This value is returned on every subsequent nowait send that is initiated
SERVERCLASS_SEND_ Procedure 93