This structure contains the return code and a short text explanation of the
error to be returned to DB2.
Table 84. Fields in the RETURN-CODE Structure
Field Name | Data Type | Description |
---|---|---|
return_code | long | 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 { long return_code, /* return code from the vendor function */ char description[60], /* descriptive message */ void *reserve, /* reserve for future use */ } Return_code; |
The following are the valid return codes accepted from vendor products: