Professional Documents
Culture Documents
Installation Guide
© 2010 Quest Software, Inc.
This guide contains proprietary information protected by copyright. The software described in
this guide is furnished under a software license or nondisclosure agreement. This software
may be used or copied only in accordance with the terms of the applicable agreement. No
part of this guide may be reproduced or transmitted in any form or by any means, electronic
or mechanical, including photocopying and recording for any purpose other than the
purchaser’s personal use without the written permission of Quest Software, Inc.
If you have any questions regarding your potential use of this material, contact:
www.quest.com
email: legal@quest.com
Refer to our Web site for regional and international office information.
Trademarks
Quest, Quest Software, the Quest Software logo, Toad, T.O.A.D., Toad World, and vToad are
trademarks and registered trademarks of Quest Software, Inc in the United States of America
and other countries. Other trademarks and registered trademarks used in this guide are
property of their respective owners.
Installation Guide
January 2010
Table of Contents
Installation 4
System Requirements 4
Install Toad 11
Install Toad Silently 12
Install Toad on Citrix Systems 19
Upgrade Toad 20
Register Toad 22
Uninstall Toad 22
Install Other Toad Components 22
Configuration 25
Understand Toad Connections 25
Configure DB2 Client Connections 26
Configure DB2 LDAP Support 35
Create Toad Connection Profiles for DB2 36
Troubleshoot DB2 LUW Issues 40
Troubleshoot DB2 z/OS Issues 42
Appendix: Contact Quest 45
Contact Quest Support 45
Contact Quest Software 45
About Quest Software 45
Index 46
1
Installation
System Requirements
Client Requirements
Ensure that the client computer meets the following minimum requirements:
Component Requirement
Component Requirement
Server Requirements
Ensure that the server meets the following minimum requirements:
Component Requirement
Operating Toad requires that the Toad for DB2 Agent reside on each DB2 for
System LUW server on which you intend to execute scripts server-side (using
Platforms for the Toad LUW Remote Script Execution feature) or to collect SQL
Toad for DB2 using Toad SQL Analysis for DB2 LUW.
Agent The agent supports servers running in any of these operating systems:
l Microsoft Windows 2000, Windows 2003 (32-bit), Windows
XP (32-bit)
l Sun Solaris 7 or later
l IBM AIX 4.3 or later
l SuSE Linux Enterprise Server 8 and 9 for zLinux
l SuSE Linux Enterprise Server 8 and 9 United Linux for Intel
x86
Toad for DB2 Installation Guide 7
Installation
Component Requirement
Hard Disk For the Toad LUW Remote Script Execution component, 34.9 MB
Space for For Toad SQL Analysis services, 35 MB
Toad for DB2
Agent
Citrix Requirements
Limited testing has been performed for Citrix support on Windows Server 2003 Enterprise
Server (Service Pack 2) using the MetaFrame Presentation Server 5.0 and Citrix Presentation
Server Clients 10.2. See "Install Toad on Citrix Systems" (page 19) for more information.
User Requirements
l A Power User cannot install Toad on a computer running Windows Vista Enterprise.
This is a Windows limitation because Vista does not support Power User mode.
l A Power User cannot install Toad if a DB2 for LUW version earlier than 8.1.7 already
exists on the computer. Only an Administrator can install Toad under this condition.
Toad for DB2 Installation Guide 8
Installation
However, if the computer has an existing DB2 for LUW 8.1.7 or later installation, a
Power User can install Toad as long as this user belongs to the DB2ADMNS or
DBUSERS group.
If an Administrator installs Toad, the Administrator can share the Toad shortcut icon on the
desktop and menu items with any user--a Power User, Restricted User, Vista standard user--on
the computer.
The following describes the requirements and restrictions for users who launch and run Toad:
l To run Toad, the .NET security policy must be set to Unrestricted. To modify the
security policy:
5. Select Evaluate Assembly from the list of tasks in the right panel, and locate
and select Toad.exe in the File field.
6. Click Next and set the permission to Unrestricted.
l To create or modify the QuestSoftware.ToadSecurity table to enable Toad Security,
the user who maintains this table must have privileges to create, insert, update, and
delete it. All other users need only the ability to read the QuestSoftware.ToadSecurity
table to use Toad Security features.
Notes:
l Without the z/OS component installed, Toad for DB2 provides limited support
for managing DB2 for z/OS subsystems. With the z/OS component installed,
you have access to a full range of Toad functionality needed to manage DB2
subsystems. See Install Other Toad Components (page 22) for a complete list of
features to which the z/OS component provides access.
l If no Quest IBM DB2 z/OS component is installed on your subsystem, see the
Quest IBM DB2 z/OS Installation Guide for installation requirements and
instructions.
l If you already have the Quest IBM DB2 z/OS component installed on
your subsystem, refer to the current Toad for DB2 Release Notes to
determine whether you need to perform an upgrade or a new installation of
the z/OS component.
Notes:
The following is required to debug and compile stored SQL procedures on DB2 for
LUW databases:
Component Requirements
The following is required to debug and compile stored SQL procedures on DB2 for z/OS
subsystems:
Component Requirements
Component Requirements
Install Toad
To install Toad
Executable file Silent installation using an exe file Silent installation using an
(.exe) has the following advantages: exe file has the following
See "Install Toad disadvantages:
l Verifies whether the
Silently" (page prerequisite software is l Cannot deploy
12) for more installed, and if not, redirects custom Toad
information. you to the download settings files or
location. license keys.
l Verifies whether a version of l Installer
Toad already exists on the automatically exits
target computer. If so, the if the prerequisite
executable uninstalls the software is not
previous version and then installed.
installs the current version.
l Exports the previous DB2
catalog and then re-imports
it into the current version.
2. For a standard installation with all features enabled, enter the following command:
“ToadInstaller.exe” /S
For a read-only installation with create, alter, and drop functionality disabled, enter
the following command:
“ToadInstaller.exe” /S READONLY=TRUE
You can customize MSIEXEC command-line options and overrides for your
installation similar to the following command:
“ToadInstaller.exe” /S /Lx “C:\temp\installLog.txt”
INSTALLDIR=”Drive:\your_install_path” USERNAME=”some_user”
COMPANYNAME=”your_company” ApplicationUsers=”AllUsers”
Use the following descriptions to customize the command-line options and overrides
for your installation.
Toad for DB2 Installation Guide 14
Installation
Command-Line Options
Option Description
You can specify the following values to override Toad’s default installation options.
Enclose each value in double quotations:
Option Description
Option Description
The following procedure uses the Wise Installer to create the transform file.
1. Save and install the ToadInstaller.msi file on a computer where the Wise for Windows
Installer is installed. After customizing Toad settings, you will use the Wise Installer
to create the transform file.
Toad for DB2 Installation Guide 16
Installation
AAABBBBCCCCCCEDXDWLMV0WJ9-123-45678-B2
Quest Software
c. Save the file with license.key as the file name in the Toad install directory.
Make sure the file extension is .key not .txt.
3. Launch Toad. The application should open without prompting you to enter a
license key.
4. Select Tools | Configuration Wizard from the Toad menu and complete the
Configuration wizard. This wizard creates an initial settings file (Settings.xml).
5. Select Tools | Options from the menu in Toad to open the Options window.
6. Select each page in the window and set any options you want to deploy. These
options create a module settings folder and files.
7. Select View | Connection Manager from the menu in Toad to open the
Connection Manager.
8. Create any connections you want to deploy.
10. Use the Wise for Windows Installer to create the Microsoft Transform file:
a. Select File | New.
b. Select Custom Templates under Categories, and then select the Transform
template in the New Installation File window.
c. Select the ToadInstaller.msi file in the Select the .MSI file to base this
transform on window.
d. Save the project.
e. Select Files from the Feature Details view.
f. Locate the following files and click Add to add them to the project:
1. At a Windows command prompt, switch to the drive or directory where the msi
installer for Toad is located. This file is located on the Toad installation CD or is
available as a download from SupportLink at
https://support.quest.com/SUPPORT/index?page=home.
2. For a standard installation with all features enabled, enter the following command:
msiexec /i “ToadInstaller.msi” /q
For a read-only installation with create, alter, and drop functionality disabled, enter
the following command:
msiexec /i “ToadInstaller.msi” /q READONLY=TRUE
You can customize command-line options and overrides for your installation similar
to the following:
msiexec /i “ToadInstaller.msi” INSTALLDIR= “Drive:\your_install_
path” /q USERNAME=”someone” COMPANYNAME=”your_company”
ApplicationUsers=”AllUsers”
Toad for DB2 Installation Guide 18
Installation
Command-Line Options
Option Description
You can specify the following values to override Toad’s default installation options.
Enclose each value in double quotations:
Option Description
Option Description
3. Install Toad.
4. During installation, select the Anyone who uses this computer checkbox when
prompted.
Note: Although you must install Toad on every server in the Citrix farm, you only
need to publish Toad once.
Upgrade Toad
To upgrade Toad
If you are upgrading from a previous version of Toad, you are prompted to migrate
your settings the first time you start Toad. The settings files include database
connections, layout customizations, shortcut keys, and options customized in the
Options pages.
File Description
Action.log Tracks your usage within Toad. If you agree to share this
data, the file is automatically sent to Quest on a periodic
basis.
ConnectionTrace.log Contains the SQL Output connection trace log file if you
select Tools | SQL Trace from the menu.
Folder Description
Register Toad
You should register Toadto ensure that all the features you purchased are available.
To register Toad
Uninstall Toad
If you uninstall Toad, it may not uninstall completely. When you use Toad, you create new
files such as SQL scripts, data output, or temp files. The following types of files are not
removed when you uninstall:
To uninstall Toad
The z/OS component is installed on each subsystem that you wantToad to manage. For a
complete description of system requirements and installation instructions for this component,
refer the Quest IBM DB2 z/OS Component Installation Guide. This guide is available from
the Windows Start menu under Program Files | Quest Software | Toad for DB2 |
Documentation.
l Run remote scripts using the Toad LUW Remote Script Execution feature
l Collect and analyze SQL using Toad SQL Analysis for DB2 LUW
Note: The agent is required for DB2 for LUW 8.x servers only.
Toad for DB2 Installation Guide 24
Installation
See the Toad for DB2 Agent LUW Installation Guide for requirements and installation
instructions. This guide is available from the Windows Start menu under Program Files |
Quest Software | Toad for DB2 | Documentation.
To install SQL Tuning for DB2 z/OS, use your web browser to locate the self-extracting
installation file for this product from http://support.quest.com (SupportLink). Download the
installation file, and execute it.
l The SQL Analysis client installed on the same computer as your Toad DB2 client
To install the SQL Analysis client, use your web browser to locate the self-extracting
installation file for this product from http://support.quest.com (SupportLink).
Download the installation file, and execute it.
l The Toad for DB2 Agent installed on each database server on which you intend to
collect SQL
For instructions about installing the Toad for DB2 Agent, see the Toad for DB2 LUW Agent
Installation Guide. This guide is available from the Windows Start menu under Program
Files | Quest Software | Toad for DB2 | Documentation.
Note: Do not run both the Toad for DB2 Agent and the Quest Central for DB2 Agent on the
same computer.
2
Configuration
Tips:
l To view the number of actual database connections that exist for a Toad connection
and how many of those database connections are active, place the cursor over the
connection in the Connection Manager or the Connection toolbar.
l You can view the progress of statements executing in the background in a progress
bar located on the lower right side of the status bar. To cancel a script's execution,
click the progress bar to display the Background Processes window.
l (DB2 and Oracle only) If your database supports executing multiple queries
simultaneously on a shared connection, the query is placed in a queue and executes as
soon as the current operation completes.
l If your database does not support executing multiple queries on a shared connection, a
dialog prompts you to either permanently associate the window with a new database
connection, cancel the previous operation, or add the query to a queue until the
current operation completes, and the execute it. If you place multiple queries in the
queue, each one executes in the order that it was added to the queue.
Note: Although you can share a database connection, any commits apply to the selected
window only.
Toad for DB2 Installation Guide 26
Configuration
The first phase is to catalog each of these databases or subsystems on the DB2 client installed
with Toad. Toad provides three methods for cataloging the systems:
You can transfer the catalog of an existing DB2 client on your local computer to the
new Toad DB2 client during initial setup or at any time later.
Toad makes this option available only when all of these conditions exist:
l You are launching Toad for the first time since installation.
l Toad detects other DB2 clients installed on your computer. These can include
the DB2 clients laid down with other installations.
If you choose not to transfer an existing catalog at this point, you can transfer a
catalog later. See "Transfer a Catalog Any Time After Initial Setup" (page 28) for more
information.
Toad for DB2 Installation Guide 27
Configuration
l If you do not migrate settings, Toad steps you through its Configuration
wizard before displaying the Connections window. When you select to
create a connection, the window showing the option to transfer a
catalog displays.
3. On the window showing the option to transfer a catalog, locate the DB2
Client list, and select the name of the existing DB2 client whose catalog you
want to transfer to your newly installed Toad for DB2.
This list contains all current previously installed DB2 clients on your
computer, including the default DB2 client instance and other Toad for DB2
client installations.
When the transfer completes, the Connections window displays. The Database
alias drop-down list now includes all the DB2 databases and subsystems
whose catalog entries you transferred.
Note: During the transfer process, DB2 does not automatically export catalog
entries for the local DB2 instance and its databases installed on your computer
unless these entries already exist in the catalog you are transferring. To include
local node entries in your Toad DB2 client catalog, you must manually catalog
these databases.
5. Proceed to Create Toad Connection Profiles for DB2 (page 36) for the DB2
databases and subsystems whose connection profiles you did not migrate (in
step 2). For those profiles you migrated, simply select the connection in the
Connections window, and provide the login ID and password to start the
connection.
Toad for DB2 Installation Guide 28
Configuration
2. From the DB2 Client list, select the name of the existing DB2 client whose
catalog you want to transfer to your newly installed Toad for DB2.
This list contains all current previously installed DB2 clients on your
computer, including the default DB2 client instance and other Toad for DB2
client installations.
3. Click OK.
4. Create Toad Connection Profiles for DB2 (page 36) for any of the transferred
catalog entries as needed.
l Import a DB2 Catalog previously exported to a file
Toad for DB2 provides functionality to import an existing DB2 client catalog to your
Toad DB2 client, saving you the effort of manually creating individual catalog entries
on the Toad DB2 client. This feature executes the DB2 Connectivity Configuration
Import Tool command db2cfimp, which imports an export profile containing the
catalog exported the from a local or remote DB2 client or a local Toad DB2 client.
Either of these functions export DB2 catalogs:
l Export Profile feature in the Toad Configuration wizard (for exporting your
current Toad DB2 client catalog only). See Export the Catalog for the Current
DB2 Client.
Note: Do not attempt to manually import catalog entries from the IBM CLP window
provided with Toad. If you have any DB2 ODBC entries, db2cfimp will override your
existing ODBC system with DSN entries and can cause previously configured DB2
ODBC connections to stop working.
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list to open the Client Configuration wizard.
3. Click Next.
Toad for DB2 Installation Guide 29
Configuration
4. Click in the Profile name field to browse for and select the exported profile
you want to import. When you select the profile, its contents display in the
text pane.
Once you close the wizard, the Database alias drop-down list in the
Connections window includes all the DB2 databases and subsystems whose
catalog entries you imported.
Note: DB2 does not automatically export catalog entries for the local DB2
instance and its databases on the computer from which the export is run (unless
these entries already exist in the catalog). Therefore, the profile you are
importing might not include these node entries. To add the missing entries to
your Toad DB2 client catalog, you must manually catalog the databases. If
these databases are local to your computer, catalog them as remote databases.
See "Manually catalog DB2 for LUW databases" (page 29) for more
information.
6. Proceed to catalog entries as needed. See "Create Toad Connection Profiles for
DB2" (page 36) for more information.
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list to open the Client Configuration wizard. The
Welcome page displays, showing the Toad DB2 client's existing catalog
configuration in a tree view.
2. If the host and node names for the database you want to configure are listed in
the tree, select them. These selections pre-fill certain fields required later in the
wizard process. If these names are not listed, you must provide the necessary
host and node information later in the wizard.
Host name Enter the TCP/IP address or the system name for the
server on which the DB2 database resides.
Toad for DB2 Installation Guide 30
Configuration
Port number Enter the port number for the server on which the
DB2 database resides.
Specify an Description
Instance
The Database alias drop-down list in the Connections window shows the alias
for the newly cataloged database. To complete the Toad connection setup, you
must create a Toad connection profile for the database. See "Create Toad
Connection Profiles for DB2" (page 36) for more information.
Toad for DB2 Installation Guide 31
Configuration
Note: If you connect directly to a DB2 for z/OS subsystem, you cannot take
advantage of Sysplex. If you want to use Sysplex, catalog an entry to a DB2 Connect
gateway instead. See "Manually catalog DB2 Connect gateways" (page 32) for more
information.
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list to open the Client Configuration wizard. The
Welcome page displays, showing the Toad DB2 client's existing catalog
configuration in a tree view.
2. If the host name for the DB2 subsystem you want to configure is listed in the
tree, select it. This selection pre-fills certain fields required later in the wizard
process. If the host name is not listed, you must provide the necessary host
information later in the wizard.
Add a Description
Host
Host Enter the TCP/IP address or the system name for the server
name on which the DB2 subsystem resides.
Port Enter the port number of the service for the DB2
number subsystem.
5. Complete the wizard. A message window informs you whether the entry was
added successfully.
The Database alias drop-down list in the Connections window shows the alias
for the newly cataloged subsystem. To complete the Toad connection setup,
create a Toad connection profile for the database. See "Create Toad Connection
Profiles for DB2" (page 36) for more information.
In order to connect to a DB2 for z/OS subsystem, you need to catalog two entries.
First, you need to catalog the DB2 subsystem on the DB2 Connect gateway. During
this process, you define an alias for the DB2 subsystem. Second, you need to
catalog this DB2 subsystem alias in Toad. The procedure below describes both
cataloging events.
1. Catalog the DB2 subsystem on the DB2 Connect gateway. See the IBM DB2
for z/OS documentation for more information.
Host name Enter the TCP/IP address or the system name for the
server on which the DB2 Connect gateway resides.
Port number Enter the port number of the service for the DB2
Connect gateway.
Specify an Description
Instance
Node name Enter an alias for the user-defined node name you
specify in the Instance name field.
Toad for DB2 Installation Guide 33
Configuration
Database name Enter the database alias name for the DB2 subsystem.
Note: This alias name must match the alias cataloged
on the DB2 Connect gateway.
The Database alias drop-down list in the Connections window shows the
name for the newly cataloged DB2 subsystem. To complete the Toad
connection setup, you must create a Toad connection profile for the subsystem.
See "Create Toad Connection Profiles for DB2" (page 36) for more information.
Note: Toad for DB2 supports LDAP connections. See "Configure DB2 LDAP Support" (page
35) for more information.
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list to open the Client Configuration wizard.
2. In the catalog configuration tree for the Toad DB2 client, select the catalog
entry for the DB2 database or subsystem that you want to edit.
4. On the Edit Catalog Entry page, update the catalog properties as needed. For a
description of the catalog properties, see the following links:
7. Click Finish. A message window displays, informing you whether the updates
to the catalog entry completed successfully.
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list to open the Client Configuration wizard.
2. In the catalog configuration tree for the Toad DB2 client, expand one or more
nodes, and select the catalog entries that you want to remove. (Press
CTRL+click to select multiple entries.)
Note: You can remove a node by selecting all database entries for that node.
4. On the Catalog Script Review page, modify the script in the preview
pane as needed.
Toad for DB2 provides functionality to export your current Toad DB2 client catalog
to a file, called an export profile. You can then import this profile to set up the
catalog for another Toad DB2 client.
To create the export profile containing the current Toad DB2 client catalog, Toad
executes the DB2 Connectivity Configuration Export Tool command db2cfexp. If
you want to export the catalog of a remote or local DB2 client (other than your
current Toad DB2 client), you must manually execute this command. For more
information, see the following IBM documentation:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/
com.ibm.db2.udb.doc/core/r0002442.htm.
Toad for DB2 Installation Guide 35
Configuration
1. In the Connections (or Create New Connection) window, click beside the
Database alias drop-down list.
3. Click Next.
4. Click in the Profile name field to browse for and select the path for the
profile in which to export the current Toad DB2 client catalog.
For more information about these profile types, see the IBM
documentation (as cited previously) describing the db2cfexp command.
6. Complete the wizard. A message window displays, informing you whether the
export completed successfully.
Note: DB2 does not automatically export catalog entries for the local DB2
instance and its databases installed on your computer unless these entries
already exist in the catalog you are exporting. If you later import the export
catalog to a Toad DB2 client, you must manually catalog the missing local-
node databases as remote databases. See "Manually catalog DB2 for LUW
databases" (page 29) for more information.
After you have set up the catalog on the current Toad DB2 client, you can proceed to the
second phase of the Toad connection setup. This phase involves creating Toad connection
profiles for the cataloged DB2 databases or subsystems. See "Create Toad Connection Profiles
for DB2" (page 36) for more information.
Notes:
l You must configure LDAP support for the DB2 client installed with Toad
regardless of whether an existing DB2 client on the computer is already configured
to support LDAP.
l Currently, Toad for DB2 supports only the access of DB2 LDAP catalog entries. Toad
does not support the management of these entries.
1. Open the Command Window for the DB2 client installed with Toad by selecting
Start | All Programs | IBM DB2 | <ToadCom, ToadEval, or ToadFree> |
Command Line Tools | Command Window.
3. Enter the following command to specify the TCP/IP host name and port number of the
LDAP server:
db2set DB2LDAPHOST=<hostname[:port]>
The port number defaults to 389 (default LDAP port) if you leave the port
number blank.
Databases on the LDAP server should be available from the Database alias drop-
down list in the Connections window. To complete the Toad connection setup, you
must create a Toad connection profile for each database. See "Create Toad Connection
Profiles for DB2" (page 36) for more information.
Tip: Connections are stored in the connections.xml file and can be found by clicking the
Application Data Directory link in Help | About.
The first phase is to catalog each of these databases or subsystems on the DB2 client installed
with Toad. See "Configure DB2 Client Connections" (page 26) for more information.
The second phase involves creating Toad connection profiles for the cataloged DB2
databases or subsystems. Each profile contains the information that Toad needs to connect to
the system, such as the user ID and password, DB2 registry settings, and the default schema.
This topic describes the three methods for setting up the profiles:
Toad for DB2 Installation Guide 37
Configuration
l Migrate existing connection profiles from another Toad for DB2 installation on your
computer (available during initial Toad setup only)
When you first launch Toad for DB2 after installation, Toad provides an opportunity
to migrate the settings of an existing Toad for DB2 installation on your local
computer to your new Toad for DB2 installation. These settings include, among other
configuration parameters, the Toad connection profiles defined on the earlier
installation. (Toad exports and imports these connection profiles for you.)
Toad makes this option available only when both of these conditions exist:
l You are launching Toad for the first time since installation.
If you choose not to migrate the connection profiles at this point, you can perform the
migration later using the Connection Managers' Import Connections and Export
Connections features.
1. Open Toad for DB2 after installation is complete. Toad displays the Settings
Migration Utility window if the conditions described previously exist.
2. Select the Toad for DB2 installation whose connection profiles you want to
migrate to your new Toad installation, and click Migrate.
After the migration completes, Toad provides the option to transfer a local
DB2 catalog to your new Toad DB2 client.
Note: The connection profiles you migrated are not usable unless you also
transfer the DB2 catalog containing the corresponding entries for these profiles
(or until you manually create these catalog entries later).
After the catalog transfer is complete, your Toad connection setup is complete
for all those connections that have both a catalog entry on the Toad DB2
client and a Toad connection profile. For any connection that does not have a
corresponding DB2 catalog entry, create an entry. See "Configure DB2 Client
Connections" (page 26) for more information.
(See "Export Connection Profiles to an XML File" (page 39) for more
informationabout exporting a profile that you can later import.)
Note: The connection profiles are not usable unless you have also created entries in
the DB2 catalog for the DB2 databases and subsystems to which these profiles
correspond. See "Configure DB2 Client Connections" (page 26) for more information.
Toad for DB2 Installation Guide 38
Configuration
2. From the Import Connections window, browse for and select the XML file
containing the connection profiles you want to import.
3. Click Open.
Database Select the alias for the DB2 database or subsystem. This
alias alias was defined when you cataloged this DB2 database
or subsystem on the Toad DB2 client. See "Configure
DB2 Client Connections" (page 26) for more information
if the alias does not display in the list.
Default Enter the SET SCHEMA value (DB2 for LUW) or the SET
schema/auth SCHEMA or SET CURRENT SQLID value (DB2 for z/OS) for
ID this connection.
Name Edit the nickname you want to display for this connection
throughout Toad (for example, in the Connections
window, document windows, Connection toolbar, and
status bar). If this field is blank, the name defaults to:
database_alias (login)
4. Select the Advanced tab to define special register values that are then in effect
each time Toad connects to the DB2 database or subsystem.
or
After you have completed both phases for configuring Toad connections to DB2 databases or
subsystems, the Connections window lists all the configured connections, allowing you to
perform the following:
Toad for DB2 provides functionality to export one or more of your current Toad
connection profiles to an XML file. You can then import these exported connection
profiles into another Toad for DB2 installation. See "Import Toad connection profiles
previously exported to an XML file " (page 37) for more information.
4. Browse for and select the path for the file in which to export the
selected profiles.
You can import all connection entries currently defined in the Toad DB2 client
catalog but missing from your current list of Toad connections.See "Create Toad
Connection Profiles for DB2" (page 36) for more information.
Note: The imported connection entries might be associated with incorrect or missing
DB2 catalog or Toad connection profile information, making them currently invalid.
To re-instate any of these connections, you might need to provide accurate DB2
catalog and Toad profile information.
l Troubleshoot connection issues for DB2 for LUW databases or DB2 for z/OS
subsystems
Installation Issues
The following table describes issues related to installing Toad for DB2.
Issue Cause/Solution
Cannot access IBM DB2 native tools Toad is bundled with the IBM DB2 v9 client.
after installing Toad for DB2 2.0 with IBM does not support direct client migration
previous install of DB2 client v7. from v7 to v9, so installing Toad on a system
Error: "SQL10007N Message "-1390" that has an existing v7 client may cause errors.
could not be retrieved. Reason code: Solution:
"2"."
Upgrade the IBM DB2 v7 client to the v8
client. If you upgrade the client after installing
Toad, you do not have to uninstall or reinstall
Toad.
Error: "Could not load file or You installed a commercial version of Toad
assembly 'IBM.Data.DB2.9.1.0, for DB2 after uninstalling the freeware version.
Version=9.1.0.2, Culture=neutral, Solution:
PublicKeyToken=7c307b91aa13d208'
You must remove run time information for the
or one of its dependencies. The
freeware version of Toad from the .NET
system cannot find the file specified."
system.config file.
Issue Cause/Solution
system.config file.
4. Open the system.config file in Notepad.
5. Locate the <runtime> tag delete
everything between the runtime tags
(including <runtime> and </runtime>).
6. Save the file.
7. Restart Toad.
Connection Issues
Issue Cause/Solution
ERROR [58031] [IBM] Catalog entries have not been imported or defined
SQL1031N The database for the connection.
directory cannot be found on the Solution:
indicated file system.
See Configure DB2 Client Connections to
SQLSTATE=58031
determine the best method for cataloging a
database.
Installation Issues
Issue Cause/Solution
Error: "Could not load file or You installed a commercial version of Toad
assembly 'IBM.Data.DB2.9.1.0, for DB2 after uninstalling the freeware version.
Version=9.1.0.2, Culture=neutral, Solution:
PublicKeyToken=7c307b91aa13d208'
You must remove run time information for the
or one of its dependencies. The
freeware version of Toad from the .NET
system cannot find the file specified."
system.config file.
Connection Issues
Issue Cause/Solution
ERROR [58031] [IBM] You do not have any catalog entries defined for the
SQL1031N The database connection.
directory cannot be found on the Solution:
indicated file system.
See Configure DB2 Client Connections to
SQLSTATE=58031
determine the best method for cataloging a
database.
ERROR [42501] [IBM][DB2] You do not have SYSADM privileges for the DB2
SQL0551N "UserName" does for z/OS subsystem.
not have the privilege to perform Solution:
operation "SELECT" on object
Ensure that you are granted SELECT permissions
"SYSIBM.SYSSTMT".
on the DB2 catalog tables.
SQLSTATE=42501
Issue Cause/Solution
ERROR [56038] [IBM][DB2] In general, Toad does not support a z/OS subsystem
SQL0969N There is no message running in Compatibility mode.
text corresponding to SQL error Solution:
"-4700" in the message file on
If possible, switch the subsystem's operating mode
this workstation.' when
to Full Function mode.
connecting to compatibility
mode database. If this is not possible, Toad now provides a message
when you connect to subsystem, informing you of
-or-
that the subsystem is running in compatibility mode
After connecting, some objects and that some features might not be available.
do not display properly or some
functionality does not work as
designed.
Other Issues
Issue Cause/Solution
View the Global Support Guide for a detailed explanation of support programs, online
services, contact information, and policy and procedures. The guide is available at:
http://support.quest.com/pdfs/Global Support Guide.pdf
See our web site for regional and international office information.
Index I
installation 11
;
Citrix 7, 19
;installation
client requirements 4
Toad SQL Analysis for DB2 LUW 22
debugging requirements on client 10
and subsystem
A
Quest IBM DB2 z/OS component 22
agent, Toad for DB2
Quest SQL Optimizer for DB2 22
installation 22 LUW
server requirements 6
C
silent 12
Citrix
Toad for DB2 Agent 22
installation 19
Toad SQL Tuning for DB2 z/OS 22
requirements 7
user privilege requirements 7
client requirements 4
connections L
configure DB2 client 26 LDAP
create DB2 36 DB2 support 35
DB2 LDAP support 35
Q
share for all session windows 25
Quest IBM DB2 z/OS component, installation22
troubleshoot DB2 LUW 40
Quest SQL Optimizer for DB2 LUW, installation22
troubleshoot DB2 z/OS 42
understand 25 R
Citrix 7
D
client 4
DB2
server 6
create connections 36
SQL procedure debugging 10
troubleshoot LUW issues 40
Toad for DB2 Installation Guide
47
Index
user privilege 7
server requirements 6
silent installation 12
executable 13
prerequisites 13
system requirements 4
installation 22
transform file 15
troubleshoot
uninstall Toad 22