OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-49
FTM_DATA_REQ_
FTM_DATA_REQ_
This procedure allows you to transfer, or write, a block of data to a previously opened
file. The FTM_WRITE_REQ_ procedure must have been called to start the write
transfer before this procedure is called.
status return value
INT
indicates the outcome of the call. For a list of possible ZAPS-VAL-STATUS-xxx
values, see Table B-1 on page B-2.
cepi input
INT:value
is the connection endpoint identifier (CEPI) used to identify the specific
association. Use the CEPI value returned from the FTM_INITIALIZE_REQ_
procedure for this association. For additional information on using the cepi
parameter, see the OSI/FTAM Programming Guide.
cepi is a required parameter.
data-value input
STRING .EXT:ref:*
contains the data to be sent to the remote responder. This parameter consists of a
data header followed by a series of one or more data elements. The maximum
allowable size of the data-value parameter of an FTM_DATA_REQ_ call is
24 KB. For details on calculating the size of data-value, see the OSI/FTAM
Programming Guide.
data-value is a required parameter.
tag input
INT(32):value
is for use in nowait mode only. Specify a unique value to identify this instance of
the procedure call. When the operation is complete, the MFM_AWAITIOX_
procedure returns the tag value, allowing your application to match the completion
with the correct instance of the procedure call. For details on the use of the tag
parameter, see the OSI/FTAM Programming Guide.
tag is an optional parameter.
status := FTM_DATA_REQ_ ( cepi ! I
, data-value ! I
, [ tag ] ) ; ! I