Administrative API Reference

RETURN-CODE

This structure contains the return code and a short text explanation of the error to be returned to DB2.

Table 93. Fields in the RETURN-CODE Structure
Field Name Data Type Description
return_codea sqlint32 Return code from the vendor function.
description char A short text description of the return code.
reserve void Reserved for future use.
Note:aThis is a vendor-specific return code, and is not identical to the one used as the return value for various APIs.

Language Syntax

C Structure



typedef struct Return_code 
{
  sqlint32  return_code,
  char      description[60],
  void      *reserve,
} Return_code;

See the individual API descriptions for valid return codes accepted from vendor products.


[ Top of Page | Previous Page | Next Page ]