OSI/FTAM Programming Guide
Using FTM Procedure Calls
HP NonStop OSI/FTAM Programming Guide—528612-001
4-38
Writing Files
Writing Files
This section describes the steps to follow to write to an FTAM file and gives details on
how to set the parameters of the FTM_WRITE_REQ_ procedure.
Procedure-Call Sequence
Figure 4-2 shows the sequence of FTAM primitives used for writing data to a previously
opened file on a remote system. For an overview of data transfer concepts of NonStop
FTAM, see Section 3, NonStop FTAM Programming.
Table 4-16 on page 4-39 shows the sequence of procedures to call and describes the
steps to write an FTAM file using the FTM_WRITE_REQ_, FTM_DATA_REQ_,
FTM_DATA_END_REQ_, FTM_TRANSFER_END_REQ_, and
FTM_TRANSFER_END_CNF_ procedure calls. Sometimes you can omit a procedure
call associated with a substep, depending on the context. The sequence of procedures
is explained after the table.
Figure 4-2. Sequence of FTAM Primitives for Writing a File
VST0402.vsd
F- TRANSFER-END request
F- TRANSFER-END confirm
F-WRITE request
F-DATA request
F-DATA request
F-DATA request
F-DATA-END request
.
Initiating Process
F-WRITE request
F-DATA request
F-DATA request
F-DATA request
F-DATA-END request
.
F-TRANSFER-END indication
F-TRANSFER-END response
Responding Process
.
.
.
.
.
.