Errors

All Natural Access functions return SUCCESS (0), or an error code indicating that the function failed and a reason for the failure.

There are no specific DTM service error codes because the DTM service functions use Natural Access error codes.

Natural Access error codes are defined in the include files ctaerr.h, swidef.h, and vcedef.h. The error codes are prefixed with CTAERR, SWIERR, or VCEERR, respectively. Error codes can also appear in the value field of a DONE event. Use the CTA_IS_ERROR macro to determine if a value is an error.

Refer to the Natural Access Developer's Reference Manual for a description of the Natural Access errors.