RSC/MP 7.2 Programming Manual
API Function Descriptions
HP NonStop Remote Server Call (RSC/MP) Programming Manual—522360-004
10-41
RscWrite [RSCW]
pcServerName
A pointer to a NULL-terminated string or blank-padded string containing the name
of the receiving server to which the WRITE procedure should be issued. This
parameter should point to a character string no longer than the constant
RSC_FILENAME_SIZE (including the terminator) in the RSC.H header file. The
name can be a stand-alone process name (for example, $TDD) or a Pathway
server class (for example, TDDSVR).
nIoHandle
The I/O handle to assign to this I/O request. This parameter determines whether
the I/O is issued as waited or nowaited. If the value of nIoHandle is
RSC_IO_WAITED, a waited I/O request is issued. When the value of nIoHandle is
greater than zero, a nowaited I/O request is issued, and the request is tagged with
the supplied nIoHandle. This handle is subsequently used to complete the I/O
request by using the RscIoCheck function.
pvWriteBuffer
A pointer to the buffer that contains the data to be written. This parameter should
point to a buffer of size uWriteSize.
uWriteSize
The size of the buffer referenced by pvWriteBuffer. When writing to a named
server, uWriteSize can have values between 1 and 56000. When writing to a
Pathway server through Pathsend, uWriteSize can have values between 1 and
31000.