DB2 Version 10.1 for Linux, UNIX, and Windows

db2DatabaseUnquiesce API - Unquiesce database

Restores user access to databases which have been quiesced for maintenance or other reasons. User access is restored without necessitating a shutdown and database restart.

Authorization

One of the following authorities:
  • SYSADM
  • DBADM

Required connection

Database

API include file

db2ApiDf.h

API and data structure syntax

SQL_API_RC SQL_API_FN
  db2DatabaseUnquiesce (
             db2Uint32 versionNumber,
             void * pParmStruct,
             struct sqlca * pSqlca);

typedef SQL_STRUCTURE db2DbUnquiesceStruct
{
             char *piDatabaseName;
} db2DbUnquiesceStruct;

SQL_API_RC SQL_API_FN
  db2gDatabaseUnquiesce (
             db2Uint32 versionNumber,
             void * pParmStruct,
             struct sqlca * pSqlca);

typedef SQL_STRUCTURE db2gDbUnquiesceStruct
{
             db2Uint32 iDatabaseNameLen;
             char *piDatabaseName;
} db2gDbUnquiesceStruct;

db2DatabaseUnquiesce API parameters

versionNumber
Input. Specifies the version and release level of the structure passed as the second parameter pParmStruct.
pParmStruct
Input. A pointer to the db2DbUnquiesceStruct structure.
pSqlca
Output. A pointer to the sqlca structure.

db2DbUnquiesceStruct data structure parameters

piDatabaseName
Input. The database name.

db2gDbUnquiesceStruct data structure specific parameters

iDatabaseNameLen
Input. Specifies the length in bytes of piDatabaseName.