Return_code data structure

Contains the return code for and a short explanation of the error being returned to Db2® by the backup and restore vendor storage plug-in. This data structure is used by all the vendor storage plug-in APIs.
Table 1. Fields in the Return_code Structure
Field Name Data Type Description
return_code (see following note) sqlint32 Return code from the vendor API.
description char A short description of the return code.
reserve void Reserved for future use.
Note: This is a vendor-specific return code that is not the same as the value returned by various Db2 APIs. See the individual API descriptions for the return codes that are accepted from vendor products.

API and data structure syntax

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