DatabaseSwitches connection parameter [DBS]

Function

Provides database-specific switches when starting a database.

Usage

Connecting to a server when the database is not loaded.

Default

No switches

See also

Chapter 1, “Running the Database Server,” Utility Guide

“StartLine connection parameter [START]”

Description

You should 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-15_2/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-15_2/demo/iqdemo.db;
dbn=my_db;dbs=-n my_db" /tmp/temp.col