DB2 Version 9.7 for Linux, UNIX, and Windows

db2ACS_CreateObjectInfo DB2 Advanced Copy Services (ACS) API data structure

db2ACS_CreateObjectInfo contains information about the DB2® ACS backup object creation.

/* ==========================================================================
 * Object Creation Parameters.
 * ========================================================================== */
typedef struct db2ACS_CreateObjectInfo
{
   db2ACS_ObjectInfo          object;
   db2ACS_DB2ID               db2ID;

   /* -----------------------------------------------------------------------
    * The following fields are optional information for the database manager
    * to use as it sees fit.
    * ----------------------------------------------------------------------- */

   /* Historically both the size estimate and management
    * class parameters have been used by the TSM client API for traditional
    * backup objects, log archives, and load copies, but not for snapshot
    * backups.
    * ----------------------------------------------------------------------- */
   db2Uint64                  sizeEstimate;
   char                       mgmtClass[DB2ACS_MAX_MGMTCLASS_SZ + 1];

   /* The appOptions is a copy of the iOptions field of flags passed to DB2's
    * db2Backup() API when this execution was initiated.  This field will
    * only contain valid data when creating a backup or snapshot object.
    * ----------------------------------------------------------------------- */
   db2Uint32                  appOptions;
} db2ACS_CreateObjectInfo;
object
Data type: db2ACS_ObjectInfo

db2ACS_ObjectInfo contains information about object created using the DB2 Advanced Copy Services (ACS) API.

db2ID
Data type: db2ACS_DB2ID

db2ACS_DB2ID identifies the IBM® Data Server.

sizeEstimate
Data type: db2Uint64.

An estimate of the size of backup objects being created. This estimate does not apply to log archives, load copies, or snapshot backups objects.

mgmtClass
Data type: db2ACS_MgmtClass.

A character string of length db2ACS_MAX_MGMTCLASS_SZ + 1.

This does not apply to snapshot backup objects.

appOptions
Data type: db2Uint32.

A copy of the backup options passed to the backup command that initiated the snapshot backup.