You can create DB2 Lightweight Directory Access Protocol (LDAP) connections when the DB2 client installed with Toad is configured for LDAP. Configuring the client consists of enabling LDAP support and specifying the host name and port number of the LDAP server. Once the client is configured, Toad retrieves names from your LDAP server and displays them in the Database Alias list in the Connections window.
Notes:
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.
Currently, Toad for DB2 supports only the access of DB2 LDAP catalog entries. Toad does not support the management of these entries.
To configure the DB2 client for LDAP
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.
Enter the following command to enable LDAP support:
db2set DB2_ENABLE_LDAP=YES
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.
Exit the Command window.
Launch Toad and open the Connections window.
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 for more information.
Setting up connections to the DB2 for LUW databases and DB2 for z/OS subsystems that Toad will manage requires two steps.
Step 1. Configure DB2 client connections - If you use a DB2 client each of the databases or subsystems must be cataloged on the client. See Configure DB2 Client Connections to learn how to catalog databases/subsystems.
Step 2. Create connection profiles - Step 2 involves creating Toad connection profiles for DB2 databases or subsystems that were either cataloged in the DB2 client or imported from your Data Server Driver configuration file. 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. If you use IBM DSD environment you can import your connection profile from a Data Server Driver configuration file.
Note: The default location of your Data Server Driver configuration file is in ...Program Data\IBM\DB2\IBMDBCL1\cfg. The default config filename is db2dsdriver.cfg.
Note: When you connect using IBM Data Server Driver the Database button and the toolbar option in Tools | LUW Database Options will not be available.
You can also connect to your DB2 database/subsystem using a custom connection string.
Use one of the following methods to create Toad connection profiles:
(See Export connection profiles to an XML file for more information about 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 for more information.
To import connection profiles
In the Connections (or Create New Connection) window, click on the toolbar, and select Connection file.
From the Import Connections window, browse for and select the XML file containing the connection profiles you want to import.
Click Open.
Select DB2 and click OK to complete the import.
The connections whose profiles you imported are listed on the Connections window.
To create a Toad connection profile for a DB2 database or subsystem
In the Connections (or Create New Connection) window, click on the toolbar (ALT+F+N).
Review the following for additional information:
Database alias |
Select the alias for the DB2 database or subsystem. This alias was defined when you cataloged this DB2 database or subsystem on the DB2 client. See Configure DB2 Client Connections for more information if the alias does not display in the list. Tip: Click to refresh the alias list. Normally, Toad caches the DB2 catalog the first time you open this window in your Toad session and continues to read from cache each time you subsequently open this window. This button forces Toad to reread the DB2 catalog to list any new systems that might have been cataloged externally during the caching period. |
Default schema/auth ID |
Enter the SET SCHEMA value (DB2 for LUW) or the SET SCHEMA or SET CURRENT SQLID value (DB2 for z/OS) for this connection. |
Category |
Select or create a category if you want to color code Editor tabs for a specific connection. This can help differentiate between development and production databases. You can also set an option to color code the Object Explorer pane and object editor windows (Create, Alter, Drop, etc.). Click here to view a video of this feature. |
Click Connect to save the connection and immediately connect to the database.
or
Click Save to save the connection without connecting to the database.
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:
Connect to and manage a DB2 database or subsystem through Toad
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 installation. See Import Toad connection profiles previously exported to an XML file for more information.
To export connection profiles
In the Connections (or Create New Connection) window, select the connections whose profiles you want to export.
Click on the toolbar, and select Connection file.
On the Export Connections window, review the selected connections, and click OK.
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 DB2 client catalog or Data Server Driver configuration file but missing from your current list of Toad connections.
Note: Default location for Data Server Driver configuration files is in ...\IBM\DB2\IBMDBCL1\cfg.
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.
To import missing connections
Troubleshoot connection issues
Note: Click to open the Client Configuration Wizard. See Configure DB2 Client Connections 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.
Connecting to an Excel file is easy. To create the connection, simply open the Excel file from the Create New Connection dialog .
To create an Excel connection
Click on the Navigation or Connection Manager toolbar.
Select Excel from the Group list.
Complete the Create New Connection dialog. Review the following for additional information:
General Tab | Description |
Category |
Select a category if you want to color code your connection. Tip: The color is applied in the Connection Manager and other connection dialogs. You can also create a new category for your connection. |
Advanced Tab | Description |
Enable import mode |
Select this checkbox to set IMEX=1 in the connection string, which converts intermixed data to text. |
Show system tables |
Select to display worksheets as system tables. Toad uses the worksheet name suffixed with a dollar sign ($). |
Automatically create ranges |
Select this option if you want Toad to automatically create named ranges. Toad creates one named range in each worksheet (unless the Toad name, AutoRange_<worksheet name>, already exists). Note: Toad does not overwrite the user defined named ranges. The Toad-created named ranges and the user defined named ranges are both visible in the Object Explorer after connecting. Deselect this option if the Excel file contains user defined named ranges and you do not want Toad to create additional named ranges. Important: If you deselect this option, and your Excel file does not contain named ranges, Toad is unable to create tables from your data. The feature is selected by default. |
Hide named ranges |
Select the named ranges to hide. Note: Named ranges are not displayed until after a connection is created (in the Connections or Connection Properties dialog). In Excel 2007 files, named ranges are not displayed for active connections. |
Open in Excel |
Click to open the selected file in Excel. This is useful if you want to modify your file or define named ranges before connecting. |
Click Connect to connect immediately while saving the connection information. Optionally, click Save to save the connection without connecting.
Understand how Toad creates data tables from an Excel file
Toad uses Excel named ranges (regions) to define the data to include in a table. Therefore, any data that you want to display and easily query in Toad must be included in an Excel named range (region).
You can create named ranges using one of the following methods:
To create a named range in Excel
In the Excel file, select the data that you want to include in the table (including column headings). Then define a named range.
» | In Excel 2003, select Insert | Name | Define. |
» | In Excel 2007, right-click the data and select Name a Range. |
To allow Toad to automatically create named ranges
» | When creating a new connection to the Excel file, in the New Connection dialog, select Automatically create ranges. Toad creates one named range for each worksheet and includes the contents of every formatted cell. |
Tip: For an Excel file with an existing connection, in the Navigation Manger, right-click the file and select Properties. On the Advanced tab, select Automatically create ranges. Toad creates the named ranges the next time you reconnect to this file.
To hide named ranges
You can hide an Excel file's named ranges so that they do not display as tables in the Object Explorer.
In the Navigation Manager, right-click an Excel file connection and select Properties.
Note: In Excel 2007 files, the connection must be inactive for the named ranges to display.
To view or modify connection properties
To view an Excel connection's properties, do one of the following:
Consideration/Limitation | Description |
---|---|
Excel 2016 64-bit or Office 365 64-bit |
To successfully create a connection to an Excel file using Excel 2016 64-bit, the Microsoft Access Database Engine is required and might not have been included in the Excel installation. In addition, the architecture (bitness) of the engine must match the bitness of Toad. If using 64-bit Toad, the 64-bit version of Microsoft Access Database Engine is required. If using 32-bit Toad, the 32-bit version of Microsoft Access Database Engine is required.
Note: This requirement applies only to connections to Excel, not to the Toad functionality of importing/exporting to Excel. |
To troubleshoot Excel issues, see the following:
Tip: Connections are stored in the connections.xml file and can be found by clicking the Application Data Directory link in Help | About.
Toad allows you to create connections to your Google Analytics data. A connection in Toad allows you to access the Google Analytics accounts and data that are available to you from your Google user account.
If you have multiple Google user accounts, you can create a separate Google Analytics connection in Toad for each account. For an explanation of Google accounts, see the following: https://developers.google.com/analytics/resources/concepts/gaConceptsAccounts
After creating a connection, see About Google Analytics Data Sources for more information about working with this data source.
Note: This feature is available in the Toad for SAP Solutions Professional Edition only.
When you create a Google Analytics connection in Toad, you log in to Google using your Google account. During the connection creation process, you also grant Toad access to the Google Analytics data accessible from that Google account.
Toad provides you with an interface to the Google log-in and authorization pages and displays these pages within the Create New Connection (and Connection Properties) dialog. The Google pages displayed are independent of Toad. The log-in process is the same as you normally encounter with your other Web-based Google log-in procedures. The only difference is that by creating a connection in Toad, you are giving Toad permission to access your Google Analytics data. This is accomplished when you click Accept in the Google authorization page.
To create a Google Analytics connection
Enter the credentials (email address and password) for your Google account and click Sign in.
Note: If you have multiple Google accounts and have previously logged in to Google (or connected through Toad), the Google log-in page may display the last Google account used. To specify a different Google account for the new connection, use the Google links/menu to select another account.
In the Google authorization page that displays, click Accept to allow Toad access to your Google Analytics data. Toad then attempts to establish a connection to Google Analytics. If the connection is successful, the Create New Connection dialog closes.
If you encounter an error message when attempting to connect using your Google Analytics connection, Toad's authorization (access) to the Google account for that connection may have been lost. Use the following procedure to re-establish authorization for the connection.
You can also use this procedure to specify a different Google log-in account for a connection.
To Reauthorize
Notes:
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback 利用規約 プライバシー Cookie Preference Center