Toad allows you to connect to SAP® Business Objects through the Query as a Web Service (QaaWS) component to view and query data in QaaWS Queries.
See also, About SAP Business Objects Data Sources.
To create a Business Objects connection
Enter the connection information in the Create New Connection dialog. Review the following for additional information:
URL |
Enter the Business Objects URL to which you want to connect. This is the URL to the Query as a Web Service component of the Business Objects installation. See Important Information about Business Objects Connections for more information. Note: The URL should be in the following format: http://<server>:<port>/dswsbobje/qaawsservices |
Password |
Enter the password to use when connecting. Tip: After connecting, you can set a master password to further secure your connection in Tools | Options| Environment | Security. |
Category | (Optional) Select an existing category or create a new one. |
Note: In NoSQL and Business Intelligence connections, Toad automatically saves the password in the connections.xml file as obfuscated text, as well as in Toad. To add additional password security, use Toad's Master Password feature. |
Click Connect to connect immediately while saving the connection information. Optionally, click Save to save the connection without connecting.
Upon creating an initial connection, Toad automatically maps the data source objects. This process runs in the background, and until it is finished, you may experience a delay when attempting to access these objects.
To create a Business Objects connection in Toad, you must connect to the Query as a Web Service component in Business Objects. The connection URL should have the format:
http://<server>:<port>/dswsbobje/qaawsservices
Where <server> corresponds to your web server address, and <port> corresponds to the port where you set up in your web server. (dswsbobje is the default name of the Query as a Web Service web application.)
An example URL is http://server01:8080/dswsbobje/qaawsservices.
Tips:
Setting up connections to the DB2 for LUW databases and DB2 for z/OS subsystems that Toad will manage requires two main steps.
Step 1. Configure DB2 client connections - Before you can create a connection profile, each of the databases or subsystems must be cataloged on the DB2 client. This topic helps you with that process.
Step 2. Create connection profiles - Step 2 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. See Create Toad Connection Profiles for DB2 for more information.
Note: You must have a DB2 client installed before you can configure client connections and create connection profiles. Refer to IBM for information regarding a DB2 client download, http://www-01.ibm.com/software/data/db2/linux-unix-windows/downloads.html, or consult your organization's IT department. For a list of supported DB2 client versions, see the Toad Data Studio Release Notes.
Use one of the following methods to catalog each of the databases or subsystems on the DB2 client.
Use this method to transfer a catalog from another DB2 client on your machine to your default DB2 client.
To transfer a catalog any time after initial setup
In the Connection Manager, click in the toolbar.
Note: If the Client Configuration Wizard opens, Toad found only one DB2 client installed.
From the DB2 Client list, select the name of the DB2 client whose catalog you want to transfer to your default DB2 client.
This list contains all current previously installed DB2 clients on your computer, including the default DB2 client instance and any Toad DB2 client installations.
To import an exported catalog profile
In the Connections (or Create New Connection) window, click beside the Database alias drop-down list to open the Client Configuration wizard.
On the Welcome page, select Import Profile.
Click Next.
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.
Complete the wizard.
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 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 for more information.
Proceed to catalog entries as needed. See Create Toad Connection Profiles for DB2 for more information.
To manually catalog a DB2 for LUW database
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 DB2 client's existing catalog configuration in a tree view.
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.
Click Add Catalog Entry.
Review the following for additional information:
Add a Host |
Description |
Operating system |
Select the operating system for the server on which the DB2 for LUW instance containing the DB2 database you are cataloging resides. For a list of supported server platforms, see the release notes. |
Host name |
Enter the TCP/IP address or the system name for the server on which the DB2 database resides. |
Port number |
Enter the port number for the server on which the DB2 database resides. |
Security type |
Select a secure protocol to handle TCP traffic for this connection. |
Specify an Instance |
Description |
Node name |
Enter a user-defined name for the DB2 instance containing the database you are cataloging. If you selected the node name from the tree on the Welcome page, this information is pre-filled (but you can update it as needed). |
Instance name |
Enter the real name of the DB2 instance. |
Comment |
Enter a descriptive comment for the instance, if needed. |
Add a Database |
Description |
Database name |
Enter the real name of the DB2 database. |
Database alias |
Enter a unique nickname to identify the database on your system. |
Authentication |
Select the authentication method that is required to connect to the database. |
Target principal |
Enter the service account name for server's service where the database resides. Note: This option is available only when Kerberos is selected as the authentication method. |
Complete the wizard.
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 for more information.
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 for more information.
To manually catalog a DB2 for z/OS subsystem
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 DB2 client's existing catalog configuration in a tree view.
Click Add Catalog Entry.
Review the following for additional information:
Add a Host | Description |
Operating system |
Select z/OS for the server operating system. |
Host name |
Enter the TCP/IP address or the system name for the server on which the DB2 subsystem resides. |
Port number |
Enter the port number of the service for the DB2 subsystem. |
Enable SOCKS security |
Select this checkbox to enable the SOCKS secure protocol to handle TCP traffic for this connection. SOCKS adds an authentication mechanism for additional security. |
Add a DB2 Subsystem |
Description |
Location name |
Enter the location name of the DB2 subsystem as defined during the DB2 installation. |
Database alias |
Enter a unique, user-defined alias to identify the DB2 subsystem on your system. You can use the same name you used in the previous Location name field, as long as it does not already exist in the list aliases in the DB2 client. |
Complete the wizard. A message 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 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.
To manually catalog an entry to a DB2 Connect gateway
Catalog the DB2 subsystem on the DB2 Connect gateway. See the IBM DB2 for z/OS documentation for more information.
In the Connections (or Create New Connection) window in Toad, click beside the Database alias drop-down list to open the Client Configuration wizard.
Click Add Catalog Entry.
Review the following for additional information:
Add a Host |
Description |
Operating system |
Select the operating system for the server on which the DB2 Connect gateway resides. |
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. |
Enable SOCKS security |
Select this checkbox to enable the SOCKS secure protocol to handle TCP traffic for this connection. SOCKS adds an authentication mechanism for additional security. |
Specify an Instance | Description |
Node name |
Enter an alias for the user-defined node name you specify in the Instance name field. |
Instance name |
Enter a user-defined name for the gateway node or use the same value entered in the Node name. Note: This name does not point to an actual node on the gateway system, but is needed to continue the cataloging process. |
Add a Database | Description |
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. |
Database alias |
Enter a unique, user-defined alias for the DB2 Connect gateway. You can use the same alias you used in the previous Database name field, as long as it does not exist in the list of Toad for DB2 aliases. |
Authentication |
Select the authentication method that matches the method specified for the DB2 subsystem on the DB2 Connect gateway. |
Complete the wizard.
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 for more information.
Note: Toad for DB2 supports LDAP connections. See Configure DB2 LDAP Support for more information.
Additionally, Toad provides functionality to perform the following maintenance on the catalog you set up for the current DB2 client:
To edit a DB2 catalog entry
In the Connections (or Create New Connection) window, click beside the Database alias drop-down list to open the Client Configuration wizard.
In the catalog configuration tree for the DB2 client, select the catalog entry for the DB2 database or subsystem that you want to edit.
Click Edit Catalog Entry.
On the Edit Catalog Entry page, update the catalog properties as needed. For a description of the catalog properties, see the following links:
Click Next to open the Catalog Script Review window.
Review and modify the script in the preview pane as needed.
Click Finish. A message window displays, informing you whether the updates to the catalog entry completed successfully.
To remove a DB2 catalog entry
In the Connections (or Create New Connection) window, click beside the Database alias drop-down list to open the Client Configuration wizard.
In the catalog configuration tree for the 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.
Click Remove Catalog Entry.
On the Catalog Script Review page, modify the script in the preview pane as needed.
Click Finish. A message window displays, informing you whether the removals completed successfully.
Toad provides functionality to export your current DB2 client catalog to a file, called an export profile. You can then import this profile to set up the catalog for another DB2 client.
To create the export profile containing the current 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 DB2 client), you must manually execute this command.
To export the DB2 client catalog
In the Connections (or Create New Connection) window, click beside the Database alias drop-down list.
Click Export Profile in the Welcome window of the Client Configuration wizard. (You might need to click this button.)
Click Next.
Click in the Profile name field to browse for and select the path for the profile in which to export the current DB2 client catalog.
Select the type of profile you want to create:
Maintain to create a profile that contains only database or node information required for updating other instances
For more information about these profile types, see the IBM documentation (as cited previously) describing the db2cfexp command.
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 DB2 client, you must manually catalog the missing local-node databases as remote databases. See Manually catalog DB2 for LUW databases for more information.
After you have set up the catalog on the current 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 for more information.
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: You must have a DB2 client installed before you can configure client connections and create connection profiles. Refer to IBM for information regarding a DB2 client download, http://www-01.ibm.com/software/data/db2/linux-unix-windows/downloads.html, or consult your organization's IT department. For a list of supported DB2 client versions, see the Toad Data Studio Release Notes.
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.
Click here to view a video about creating connections in Toad Data Studio
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 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.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center