Connecting to a data source in DataStage
You can connect to remote data sources with a project connection or a platform connection.
You can connect to a remote data source in the following ways.
- Create a connection asset in a project and then select the connection in DataStage®
- Create a platform connection and then select the connection in DataStage
Create a connection asset in a project and then select the connection in DataStage
Benefit: You can share with the connection with other users in the project. The connection can be used with other tools or services in the project. (DataStage does not support connections in Watson™ Knowledge Catalog.)
Steps:
- In the project, go to .
- Select a connector and create the connection. For more information, see Adding connections to projects.
- Go to DataStage, expand
Connectors, and then add a connector to the canvas in one of the following ways:
- Drag the Asset browser to the canvas, and then select a connection. You can drill down to select specific data. The associated connector is added to the canvas.
- Drag a connector to the canvas and double-click it. Open its Stage tab. Go to and select the connection.
Create a platform connection and then select the connection in DataStage
A platform connection is a connection asset in the Platform assets catalog. (DataStage does not support connections in Watson Knowledge Catalog.)
Benefit: You can share the connection across services and projects. The connection can be used in other tools and shared with multiple users.
Steps:
- Go to New connection. . Click
- Select a connector and create the connection. For more information, see Adding platform connections.
- Go to DataStage, expand Connectors, and then add a
connector to the canvas in one of the following ways:
- Drag the Asset browser to the canvas, and then select a connection. You can drill down to select specific data. The associated connector is added to the canvas.
- Drag a connector to the canvas and double-click it. Open its Stage tab. Go to and select the connection.