Importing connection profiles from IBM Data Studio or Eclipse Data Tools
If you defined Db2 for z/OS database connection profiles in either IBM Data Studio or Eclipse Data tools, you can export them from an IBM® Developer for z/OS® version 15.0.x or earlier workspace, and then import them into version 16.0.6 or version 17.0.0. The import wizard supports connection profiles that are exported from the Data Source Explorer view of the Data perspective.
Restriction: The import wizard does not support connection profiles that are exported
from these locations:
- The option on the window.
- The option on the window.
- The Export pop-up menu on the Data Project Explorer view.
- The Export toolbar button on the Server Profile Manager view.
Exporting connection profiles
- In an IBM Developer for z/OS version 15.0.x or earlier workspace, open the Data Source Explorer view of the Data perspective.
- Click the
Export toolbar button. The Export Connection Profiles window opens.
- Select the Db2 for z/OS connection profiles you want to export.
- To choose an export file location and specify an export file name, click
Browse. The default folder is the current workspace folder. The file type for
export files is .xml. The following screen capture shows an example of an
export file location.
- Select the checkbox to encrypt the export file content or to include the user ID and password to be used for the connection in the export file.
- Click OK. The file is saved to the location and file name you specify.
Importing connection profiles
- In an IBM Developer for z/OS version 16.0.6 or 17.0.0 workspace, click , and then, in the Import window, navigate to and click Next.
- Click Browse and navigate to the database connection profiles export file that you created in the IBM Developer for z/OS version 15.0.x or earlier workspace.
- Click Next. The wizard loads the exported connection profiles into a table. Each profile is highlighted in the table, and the checkbox beside it is selected.
- To import all selected profiles, click Next, or to import only specific
profiles, clear some checkboxes and then click Next. The Assign
z/OS Connections page opens.Tip: The Assign z/OS Connections page accommodates several scenarios for assigning z/OS connections to profiles:
- If you do not yet have a z/OS connection, or you want to create a new one to import a profile to, click Create z/OS Connection.
- If you already have z/OS connections that match the host names in the profiles, then you can click Suggest z/OS Connection to assign profiles to connections.
- If you want to import all profiles to the same z/OS connection, then you can select a connection name from the drop-down list and click Set z/OS Connection.
- If you need to import the profiles into different z/OS connections, then you can select profiles from the table, assign connections to them, and then finish the import operation.
- Scenario a: To create a z/OS connection before completing the import operation, do these steps:
- Click Create z/OS Connection, and complete the Remote z/OS
System Connection wizard. For instructions, see Creating a connection to a z/OS system or watch this demonstration.
- Complete one of the next steps, according to the import scenario that is appropriate for your profiles.
- Click Create z/OS Connection, and complete the Remote z/OS
System Connection wizard.
- Scenario b: To assign the profiles to suggested z/OS connections and complete the import, do
these steps:
- Click Suggest z/OS Connections, and verify that each profile is assigned to the appropriate z/OS connection.
- To complete the import operation, click Finish.
- Scenario c: To import all profiles to the same z/OS connection, do these steps:
- In the Set z/OS Connection area, select a connection name from the drop-down list.
- Click Set z/OS Connection, and verify that each profile is assigned to the z/OS connection that you selected.
- To complete the import operation, click Finish.
- Scenario d: To import the profiles into different z/OS connections, do these steps:
- Highlight one or more profiles in the table.
- To assign a z/OS connection to a highlighted profile, in the Set z/OS Connection area, select a connection name from the drop-down list.
- Click Set z/OS Connection, and verify that each profile is assigned to the z/OS connection that you selected.
- Repeat the highlighting and assigning steps until all profiles are assigned to a connection.
- To complete the import operation, click Finish.
- To verify that the profiles were imported into the correct connections, in the Remote Systems view, expand a connection name, and then expand . Each imported connection is given a unique name in the workspace by appending a _<number> as needed to the connection name.
Demonstration
This animation demonstrates the export and import scenario in which existing z/OS connections
match the host names in the profiles, and the Suggest z/OS Connections
function assigns profiles to connections.
