TS/MP Pathsend and Server Programming Manual (H06.05+, J06.03+)
This parameter is required.
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 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.
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 LINKMON 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 the SERVERCLASS_DIALOG_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 106).
For more information on Pathsend error 904 and file-system error 40, see “Server Timeout” (page 106).
inputflags
INT:value
flags.<15>
with a value of 1 indicates that this operation is to be performed nowait. A value of 0 indicates
that this operation is to be performed waited. The default is 0.
flags.<0:14>
must be 0.
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
successfully. A value of -1 is returned for nowait sends that are not initiated successfully. A value of
-1 is always returned for waited sends.
88 Pathsend Procedure Call Reference










