Modifies individual entries in a specific database configuration file.
A database configuration file resides on every node on which the database has been created.
Scope
This API only affects the node on which it is issued.
Authorization
One of the following:
Required Connection
Instance. An explicit attachment is not required. If the database is listed as remote, an instance attachment to the remote node is established for the duration of the call.
Version
sqlutil.h
C API Syntax
/* File: sqlutil.h */ /* API: Update Database Configuration */ /* ... */ SQL_API_RC SQL_API_FN sqlfudb ( _SQLOLDCHAR * pDbAlias, unsigned short NumItems, struct sqlfupd * pItemList, struct sqlca * pSqlca); /* ... */ |
Generic API Syntax
/* File: sqlutil.h */ /* API: Update Database Configuration */ /* ... */ SQL_API_RC SQL_API_FN sqlgudb ( unsigned short DbAliasLen, unsigned short NumItems, unsigned short * pItemListLens, struct sqlfupd * pItemList, struct sqlca * pSqlca, char * pDbAlias); /* ... */ |
API Parameters
REXX API Syntax
UPDATE DATABASE CONFIGURATION FOR dbname USING :values |
REXX API Parameters
Sample Programs
Usage Notes
To view or print a list of the database configuration parameters, use sqlfxdb - Get Database Configuration.
To view the default values for database configuration parameters, use sqlfddb - Get Database Configuration Defaults.
To reset the database configuration parameters to the recommended defaults, use sqlfrdb - Reset Database Configuration.
The default values of these parameters may differ for each type of database node configured (server, client, or server with remote clients). See the Administration Guide for the ranges and the default values that can be set on each node type. The valid token values for each configuration entry are listed in Table 53.
Not all parameters can be updated.
Most changes to the database configuration file become effective only after they are loaded into memory. All applications must disconnect from the database before this can occur.
If an error occurs, the database configuration file does not change.
The database configuration file cannot be updated if the checksum is invalid. This may occur if the database configuration file is changed without using the appropriate API. If this happens, the database must be restored to reset the database configuration file.
For a brief description of the database configuration parameters, see the Command Reference. For more information about these parameters, see the Administration Guide.
See Also
sqlfddb - Get Database Configuration Defaults
sqlfrdb - Reset Database Configuration
sqlfxdb - Get Database Configuration.