DB2 Version 9.7 for Linux, UNIX, and Windows

db2ACS_CB DB2 Advanced Copy Services (ACS) API data structure

db2ACS_CB contains fundamental information required to initialize and terminate a DB2® ACS session.

/* ==========================================================================
 * DB2 Backup Adapter Control Block
 * ========================================================================== */
typedef struct db2ACS_CB
{
   /* Output:  Handle value for this session.
    * ----------------------------------------------------------------------- */
   db2Uint32                  handle;
   db2ACS_VendorInfo          vendorInfo;

   /* Input fields and parameters.
    * ----------------------------------------------------------------------- */
   db2ACS_SessionInfo         session;
   db2ACS_Options             options;

   /* Operation info is optional, possibly NULL, and is only ever valid
    * within the context of an operation (from call to BeginOperation() until
    * the EndOperation() call returns).
    *
    * The operation info will be present during creation or read operations
    * of snapshot and backup objects.
    * ----------------------------------------------------------------------- */
   db2ACS_OperationInfo     * operation;
} db2ACS_CB;
handle
Data type: db2Uint32.

A handle to reference the DB2 ACS session.

vendorInfo
Data type: db2ACS_VendorInfo.

db2ACS_VendorInfo contains information about the DB2 ACS API driver.

session
Data type: db2ACS_SessionInfo.

db2ACS_SessionInfo contains all the information about the DB2 ACS session.

options
Data type: db2ACS_Options.

db2ACS_Options specifies options to be used for a DB2 ACS operation. This contents of this string is specific to the DB2 ACS API driver.

operation
Data type: db2ACS_OperationInfo *.

db2ACS_OperationInfo contains information about a snapshot backup operation.