db2swtch - Switch default Db2 copy and database client interface copy command
Switches both the default Db2 copy and the default database client interface copy.
The default Db2 copy is the copy that is used by applications that are not targeted at a specific Db2 copy. Issuing db2swtch launches the Default Db2 and IBM Database Client Interface Selection wizard which you can follow to set a new default Db2 Copy and set the default database client interface copy. This command is only available on Windows operating systems.
Authorization
Local Administrator authority.
Required connection
None
Command syntax
Command parameters
- no arguments
- Launches the utility in graphical mode.
- -l
- Displays a list of Db2 copies and IBM® data server driver copies on the system.
- -db2 -d DB2_copy_name
- Switch the default Db2 copy to the name
specified.
db2swtch -db2 -d DB2_copy_name - -client -d name of Db2 copy or IBM data server driver copy
- Switch the default client interface copy to the name specified.
db2swtch -client -d name of DB2 copy or IBM data server driver copy - -d DB2_copy_name
- Switches both default Db2 copy and client
interface copy to the name
specified.
db2swtch -d DB2_copy_name - -IDS
- common
- Redirects the IDS .NET data provider reference in machine.config to common IDS .NET data provider.
- SQLI
- Redirects the IDS .NET data provider reference in machine.config to SQLI IDS .NET data provider.
- -h | -?
- Displays help information.
