OSI/FTAM Programming Reference Manual

NonStop FTAM Programming Examples
HP NonStop OSI/FTAM Programming Reference Manual528611-001
G-7
Example 2—Moving a File Between Two Remote
Systems (in Wait Mode)
16. Deselects the destination file.
17. Closes the source file.
18. Deletes the source file.
19. Terminates the association with the source system.
20. Terminates the association with the destination system.
21. Discards the association with the source system.
22. Discards the association with the destination system.
When APS_STATUS_ is called and an error is returned, the program branches to an
error-handling routine. Within this routine, aborts are checked and handled if present.
Any of the following procedures can be called during error handling:
FTM_U_ABORT_REQ_
FTM_U_ABORT_IND_
FTM_P_ABORT_IND_
Figure G-2 on page G-8 shows the protocol diagram detailing the sequence of APS
and FTM procedure calls used in Example 2. The numbers at the left of the
“Application Program” box in the diagram correspond to the program tasks (1 through
22) described above.