DatabaseSwitches Connection Parameter [DBS]

Provides database-specific switches when starting a database.

Usage

Connecting to a server when the database is not loaded.

Default

No switches

Description

Supply DatabaseSwitches only if you are connecting to a database that is not currently running. When the server starts the database specified by DatabaseFile, the server uses the supplied DatabaseSwitches as command line options to determine startup options for the database.

Only database switches can be supplied using this parameter. Server switches must be supplied using the START connection parameter.

Examples

The following UNIX command, entered all on one line, connects to the default database server, loads the database file IQ-16_0/demo/iqdemo.db (DBF parameter), names it as my_db (DBS parameter) and connects to the database of that name (DBN parameter):

dbcollat -c "uid=DBA;pwd=SQL;dbf=/IQ-16_0/demo/iqdemo.db;
dbn=my_db;dbs=-n my_db" /tmp/temp.col