OSI/FTAM Programming Guide
Using FTM Procedure Calls
HP NonStop OSI/FTAM Programming Guide—528612-001
4-43
Reading Files
Reading Files
This section describes the steps to follow to read an FTAM file and gives details on
how to set the parameters of the FTM_READ_REQ_ procedure.
Procedure-Call Sequence
Figure 4-3 shows the sequence of FTAM primitives used for reading a file from a
remote responder. For an overview of data transfer concepts of NonStop FTAM, see
Section 3, NonStop FTAM Programming.
Table 4-17 on page 4-44 shows the sequence of procedures to call and describes the
steps to read an FTAM file using the FTM_READ_REQ_, FTM_DATA_IND_,
FTM_DATA_END_IND_, FTM_TRANSFER_END_REQ_, and
FTM_TRANSFER_END_IND_ procedures. 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-3. Sequence of FTAM Primitives for Reading a File
VST0403.vsd
F- TRANSFER-END request
F- TRANSFER-END confirm
F-READ request
F-DATA indication
F-DATA indication
F-DATA indication
F-DATA-END indication
.
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
.
.
.
.
.
.