Making an ODBC connection to a db2 database
Posted: Thu Oct 11, 2007 11:23 am
Background - We do not have a DataStage Administrator and would like some pointers on how to establish a odbc connection to a DB2 database and also a few related questions.
1) Does the remote database need to be cataloged on the ETL server?
2) What does cataloging do on the ETL server?
3) Does cataloging help only with the db2connect? or does it help with establishing an ODBC connect?
4) Can I use the DB2_UDB_Enterprise stage in DS to connect to the database instead of the ODBC stage? How can I determine what stage to use and how can I set up DataStage.
5) How does db2connect make a connection to the remote server (does it use the odbc driver)?
5) In the odbc.ini file, when datasources are being defined, can the userid/password be omitted and passed during job execution and can they be passed-in as a project variable.
Thanks for your time.
Suresh
1) Does the remote database need to be cataloged on the ETL server?
2) What does cataloging do on the ETL server?
3) Does cataloging help only with the db2connect? or does it help with establishing an ODBC connect?
4) Can I use the DB2_UDB_Enterprise stage in DS to connect to the database instead of the ODBC stage? How can I determine what stage to use and how can I set up DataStage.
5) How does db2connect make a connection to the remote server (does it use the odbc driver)?
5) In the odbc.ini file, when datasources are being defined, can the userid/password be omitted and passed during job execution and can they be passed-in as a project variable.
Thanks for your time.
Suresh