db2ACS_SessionInfo Db2 Advanced Copy Services (ACS) API data structure
db2ACS_SessionInfo
contains all the
information about the Db2 ACS
session.
/* ==========================================================================
* Session Info
* ========================================================================== */
typedef struct db2ACS_SessionInfo
{
db2ACS_DB2ID db2ID;
/* Fields identifying the backup session originator.
* ----------------------------------------------------------------------- */
SQL_PDB_NODE_TYPE dbPartitionNum;
char db[SQL_DBNAME_SZ + 1];
char instance[DB2ACS_MAX_OWNER_SZ + 1];
char host[SQL_HOSTNAME_SZ + 1];
char user[DB2ACS_MAX_OWNER_SZ + 1];
char password[DB2ACS_MAX_PASSWORD_SZ + 1];
/* The fully qualified ACS vendor library name to be used.
* ----------------------------------------------------------------------- */
char libraryName[DB2ACS_MAX_PATH_SZ + 1];
} db2ACS_SessionInfo;
- db2ID
- Data type:
db2ACS_DB2ID
db2ACS_DB2ID
identifies the IBM® Data Server. - dbPartitionNum
- Data type:
SQL_PDB_NODE_TYPE
The unique, numeric identifier for a database partition.
- db
- Data type:
char[]
.A character string of length
SQL_DBNAME_SZ + 1
. - instance
- Data type:
char[]
.A character string of length
DB2ACS_MAX_OWNER_SZ + 1
. - host
- Data type:
char[]
.A character string of length
SQL_HOSTNAME_SZ + 1
. - user
- Data type:
char[]
.A character string of length
DB2ACS_MAX_OWNER_SZ + 1
. - password
- Data type:
char[]
.A character string of length
DB2ACS_MAX_PASSWORD_SZ + 1
. - libraryName
- Data type:
char[]
.A character string of length
DB2ACS_MAX_PATH_SZ + 1
.