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.
Local Administrator authority.
None
>>-db2swtch--+-----+--+-------+--+----------+-------------------> '- -l-' '- -db2-' '- -client-' >--+------------------------------------------------------+-----> '- -d--name of DB2 copy or IBM data server driver copy-' >--+--------------+--+-----+----------------------------------->< +- -IDS common-+ +- -h-+ '- -IDS SQLI---' '- -?-'
db2swtch -db2 -d name of DB2 copy
db2swtch -client -d name of DB2 copy or IBM data server driver copy
db2swtch -d name of DB2 copy