db2ACS_ReturnCode Db2 Advanced Copy Services (ACS) API data structure
db2ACS_ReturnCode
contains diagnostic
information including message text and error codes specific to the storage hardware. The contents of
a db2ACS_ReturnCode
parameter for a Db2 ACS API function call
will be recorded in the database manager diagnostic logs.
/* ==========================================================================
* Storage Adapter Return Code and Diagnostic Data.
*
* These will be recorded in the Db2 diagnostic logs, but are intended to be
* internal return and reason codes from the storage layers which can be used
* in conjunction with the DB2ACS_RC to provide more detailed diagnostic info.
* ========================================================================== */
typedef struct db2ACS_ReturnCode
{
int returnCode;
int reasonCode;
char description[DB2ACS_MAX_COMMENT_SZ + 1];
} db2ACS_ReturnCode;
- returnCode
- Data type:
int
.Return code specific to the storage hardware.
- reasonCode
- Data type:
int
.Reason code specific to the storage hardware.
- description
- Data type:
char[]
.A character string of length
DB2ACS_MAX_COMMENT_SZ + 1
.