Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

OSS Library Calls (n - r) PUT_SERVERCLASS_SEND_(3)
NAME
PUT_SERVERCLASS_SEND_ - Sends a message to and receives a reply from a server process
in a Pathway server class
LIBRARY
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zputdll |
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/yputdll |
SYNOPSIS
#include <pthread.h>
short PUT_SERVERCLASS_SEND_( |
char * pathmon,
short pathmonbytes, |
char * serverclass,
short serverclassbytes, |
char * messagebuffer, |
short requestbytes, |
short maximumreplybytes, |
short *actualreplybytes, |
int timeout, |
short flags, |
short *scsoperationnumber, |
long tag);
PARAMETERS
Input
pathmon Contains the external process name of the PATHMON process controlling the
server class (for example, $PM or \AB.$PM).
pathmonbytes Contains the character length of pathmon.
serverclass Contains the name of the server class to send to.
serverclassbytes
Contains the character length of serverclass.
messagebuffer Contains the message to send to the server class.
requestbytes Contains the byte length of the data contained in messagebuffer.
maximumreplybytes
Contains the maximum number of bytes that are expected in the reply message
from the server class.
timeout (Optional) Contains the maximum amount of time, in hundredths of a second,
LINKMON waits for the completion of this send. This value must be either -1 or
greater than 0 (zero). The default value is -1 (wait indefinitely).
If the send is still in progess when this timeout expires, then the send is canceled.
An error value 233 (FEScError) is returned;
PUT_SERVERCLASS_SEND_INFO_() will show Pathsend error 918
(FEScSendOperationAborted) and Guardian file-system error 40.
flags (Optional) If provided, must contain 0 (zero) to indicate a waited operation.
This parameter is provided for compatibility with the Guardian
SERVERCLASS_SEND_ procedure.
527187-017 Hewlett-Packard Company 5113