OSI/FTAM Programming Guide

Using FTM Procedure Calls
HP NonStop OSI/FTAM Programming Guide528612-001
4-54
Errors in Request and Response Procedures
b. If the error return value from the APS_STATUS_ procedure equals 0, the
APS_STATUS_ call was successful. You can now check the error-code
value returned by APS_STATUS_.
c. If the error-code output parameter returned by the APS_STATUS_
procedure equals ZFTM-ERR-BAD-APS-STATUS (-6019), OSI/AS has sent an
error, indicated in the original-error-info parameter. For information on
the values contained in the ZERROR-CODE and ZERROR-SUBCODE fields
of original-error-info, refer to the OSI/FTAM Programming Reference
Manual.
d. If error-code does not equal ZFTM-ERR-BAD-APS-STATUS (-6019), look
up the error-code value and error-subcode value in the OSI/FTAM
Programming Reference Manual.
Figure 4-4 on page 4-55 illustrates how to handle errors in request and response
procedures. Note that the OSI/FTAM Programming Reference Manual contains the
tables and appendixes mentioned in the figure below.