OSI/FTAM Programming Guide
Using FTM Procedure Calls
HP NonStop OSI/FTAM Programming Guide—528612-001
4-20
Sample Procedure-Call Sequence
specifying as input the CEPI returned by the FTM_INITIALIZE_REQ_ procedure
for this association.
a. If the association is in nowait mode, call MFM_AWAITIOX_ to wait for
completion of the APS_EVENT_RECEIVE_ call and to obtain the status code.
A status code of ZAPS-VAL-STATUS-EVENT means you have received an
event.
6. If you have received an event, call APS_STATUS_ to determine which event. If the
event code is ZFTM-VAL-EVT-BEGINGROUP-CNF, you received a begin-group
confirm.
7. To receive a select confirm event, call APS_EVENT_RECEIVE_. In wait mode, this
procedure returns a status code of ZAPS-VAL-STATUS-EVENT when you receive
an event. If APS_EVENT_RECEIVE_ returns a different status code, to obtain the
details of an error at this stage, call APS_STATUS_, specifying as input the CEPI
returned by the FTM_INITIALIZE_REQ_ procedure for this association.
a. If the association is in nowait mode, call MFM_AWAITIOX_ to wait for
completion of the APS_EVENT_RECEIVE_ call and to obtain the status code.
A status code of ZAPS-VAL-STATUS-EVENT means you received an event.
8. If you received an event, call APS_STATUS_ to determine which event. If the event
code is ZFTM-VAL-EVT-SELECT-CNF, you received a select confirm.
9. Next, call FTM_SELECT_CNF_ to retrieve the data sent by the confirm.
10. To receive an open confirm event, call APS_EVENT_RECEIVE_. If
APS_EVENT_RECEIVE_ returns a status code other than
ZAPS-VAL-STATUS-EVENT, to obtain the details of an error at this stage, call
APS_STATUS_, specifying as input the CEPI returned by the
FTM_INITIALIZE_REQ_ procedure for this association.
a. If the association is in nowait mode, call MFM_AWAITIOX_ to wait for
completion of the APS_EVENT_RECEIVE_ call and to obtain the status code.
11. If you received an event, call APS_STATUS_ to determine which event. If the event
code is ZFTM-VAL-EVT-OPEN-CNF, you received an open confirm.
12. Call FTM_OPEN_CNF_ to retrieve the data sent in the confirm.
13. To receive an end-group confirm event, call APS_EVENT_RECEIVE_. If
APS_EVENT_RECEIVE_ returns a status code other than
ZAPS-VAL-STATUS-EVENT, to obtain the details of an error at this stage, call
APS_STATUS_, specifying as input the CEPI returned by the
FTM_INITIALIZE_REQ_ procedure for this association.
a. If the association is in nowait mode, call MFM_AWAITIOX_ to wait for
completion of the APS_EVENT_RECEIVE_ call and to obtain the status code.
14. If you received an event, call APS_STATUS_ to determine which event. If the event
code is ZFTM-VAL-EVT-ENDGROUP-CNF, you received an end-group confirm.