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. | ||
| ||||
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.