Quantcast
Channel: Toad for IBM DB2 Forum - Recent Threads
Viewing all articles
Browse latest Browse all 389

RE: Is it able to launch Toad for DB2 4.7 and make connection to designated database from DOS command line?

$
0
0

Hello,

Toad for DB2 version 4.7 is not supported on Windows 10. Also, this version is no longer supported. I am not sure if this is possible in version 4.7, but in the current version, there is following procedure.

You can use the command line to start Toad for IBM DB2 and automatically open a connection. You must first create a .tcs file that contains the connection information. Then you can use the command line to start Toad and call this .tcs file to provide the connection information and encrypted password.

To create a .tcs file containing connection information
1) Open the connection in Toad and ensure the connection is selected in the connection drop-down list in the Connection/Navigation Manager.
2) Click on the Navigation/Connection Manager pane to ensure it is the active window.
3) Then select File | Save File As.
4) In the Save As dialog, select a location and enter a name for the .tcs file.
5) Click Save As. This action creates a .tcs file containing the connection information for the active connection. The saved password is encrypted in the .tcs file.

To use the command line to start Toad with a connection open
1) Open the Command Prompt window.
2) Enter the following to start Toad and call the .tcs file you created in the previous procedure.

<Toad installation path>\toad.exe <.tcs file path>\MyConn.tcs

For example: C:\Program Files (x86)\Quest Software\Toad for IBM DB2\toad.exe C:temp\MyConn.tcs

Regards

Ondrej


Viewing all articles
Browse latest Browse all 389

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>