OSI/FTAM Programming Reference Manual

FTM Procedures
HP NonStop OSI/FTAM Programming Reference Manual528611-001
4-35
FTM_CLOSE_CNF_
diagnostic is an optional parameter.
Considerations
To complete this procedure call successfully, the association must be in the file-
open regime.
Before calling FTM_CLOSE_CNF_, you must call the following procedures:
FTM_CLOSE_REQ_
APS_EVENT_RECEIVE_
APS_STATUS_
You call APS_EVENT_RECEIVE_ to receive the confirm event and
APS_STATUS_ to determine, via the APS_STATUS_ event-code parameter, the
proper confirm procedure to use to retrieve the data. You must receive the
ZFTM-VAL-EVT-CLOSE- CNF event before calling FTM_CLOSE_CNF_.
The association returns to the file-selection regime when the application receives
the ZFTM-VAL-EVT-CLOSE-CNF event and the value of the action-result
parameter is ZFTM-VAL-ACTION-SUCCESS.
Errors
For cause, effect, and recovery information on these errors, see Appendix B, NonStop
FTAM Initiator Error Messages.
Examples
Examples of the FTM_CLOSE_CNF_ call in a program begin on line 1375 of the C
version and line 1464 of the TAL version of Example 2 in Appendix G, NonStop FTAM
Programming Examples.
Table 4-11. Possible FTAM Initiator Errors for the FTM_CLOSE_CNF_ Procedure
Error Code FTAM Initiator Error
- 6000 ZFTM-ERR-INTERNAL
- 6017 ZFTM-ERR-INVALID-IF-VERSION
- 6018 ZFTM-ERR-INVALID-FIELD-VERSION
- 6036 ZFTM-ERR-SU-ABORTED