Excerpted from IBM DataStage document
You can test the whether your ODBC drivers can successfully connect to your data sources.
Symptoms
If a job fails to connect to a data source using an ODBC connection, test the connection outside the job to see if the ODBC connection is the source of the problem.
Environment
The procedure applies to ODBC connections in a UNIX environment.
Diagnosing the problem
To test the connectivity of your ODBC connections:
Change directory to $DSHOME and set up the IBM® InfoSphere™ DataStage® environment by running dsenv:
. ./dsenv
Start the engine shell:
cd $DSHOME
bin/dssh
In the engine shell, log to the project:
LOGTO project_name
Get a list of available DSNs by typing:
DS_CONNECT
Test the required connection by typing:
DS_CONNECT DSN
Where DSN specifies the connection that you want to test.
Enter the user name and password to connect to the required data source.
After you have connected to the data source, enter .Q to close the connection.
No comments:
Post a Comment