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-17
SERVERCLASS_SEND_ Procedure
SERVERCLASS_SEND_ Procedure
The SERVERCLASS_SEND_ procedure initiates a context-free send operation to a
server process in the specified server class.
The completion of this processing—that is, getting the final outcome (success or failure)
and, if successful, the reply data—occurs in one of two ways, depending on whether the
send operation is initiated as waited or nowait:
•
For waited send operations, initiation and completion are both performed by the
SERVERCLASS_SEND_ procedure.
•
For nowait send operations, initiation is performed by the SERVERCLASS_SEND_
procedure, and completion is performed by calling the AWAITIOX procedure.
Syntax
The syntax of the SERVERCLASS_SEND_ procedure is:
error returned value
INT
returns an error word containing one of the following values:
error := SERVERCLASS_SEND_ ( pathmon-process-name ! i
,pathmon-process-name-len ! i
,server-class-name ! i
,server-class-name-len ! i
,message-buffer ! i,o
,request-len ! i
,maximum-reply-len ! i
,[ actual-reply-len ] ! o
,[ timeout ] ! i
,[ flags ] ! i
,[ scsend-op-num ] ! o
,[ tag ] ); ! i
0 (FEOK) indicates that the call was successful.
233 (FESCErr) indicates that an error occurred. You can call the
SERVERCLASS_SEND_INFO_ procedure to get more detailed
information about the error.