Plug in issue
Moderators: chulett, rschirm, roy
Plug in issue
hi,
I have a DB2 dtabases i have dev and test in one server and the prod in diff server..In my dev installation on the Datastage i defined the plug in defn for all the three databases in my .odbc.ini file also in the uvodbc.config in the project dir..but when i try to import the table definition in the list i view only my dev which is being defined earlier and the other two defined now...both has the DB2 plugin driver Is some thing else that i need to do ..Pls help me out......
I have a DB2 dtabases i have dev and test in one server and the prod in diff server..In my dev installation on the Datastage i defined the plug in defn for all the three databases in my .odbc.ini file also in the uvodbc.config in the project dir..but when i try to import the table definition in the list i view only my dev which is being defined earlier and the other two defined now...both has the DB2 plugin driver Is some thing else that i need to do ..Pls help me out......
RK
Did you setup and bind the database. Its been a while since I worked with DB2 but I remember that you need to bind the database. You should be able to find the relevent info in the manuals.
If you are able to import the metadata using odbc connection, use that and then use the db2 api stage to access the database. It works.
If you are able to import the metadata using odbc connection, use that and then use the db2 api stage to access the database. It works.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
I tired importing the table defn by odbc and using the API stage it did n't work it is giving me the databse not defined.But i can able to import by odbc..Is this beacuse of the binding thing....DSguru2B wrote:Did you setup and bind the database. Its been a while since I worked with DB2 but I remember that you need to bind the database. You should be able to find the relevent info in the manuals.
If you ar ...
RK
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
hi,this is the one that i got from the manualray.wurlod wrote:Ask your DB2 DBA about the bind20 utility. ...
Creating and binding a DB2 package to a DSN Before you connect to a DB2 DSN you need to bind DB2 packages to the DSN. You must bind a package to every DSN you are going to use to connect to a DB2 database.
To create and bind a package to a DSN:
1. Open a terminal window and change to the $DSHOME/../branded_odbc/lib directory.
2. Enter the command bind20dsn. dsn is the ODBC data source name.
You are prompted for a user ID and password if one is required.
when i isued the command bind20<mydsnname> it says bind20 not found is the utility need to be installed on the server or is it inbuild with datstage while installtion....Pls let me know.....
RK
Can any body help me with finding this utility.....g_rkrish wrote:hi,this is the one that i got from the manualray.wurlod wrote:Ask your DB2 DBA about the bind20 utility. ...
Creating and binding a DB2 package to a DSN Before you connect to a DB2 DSN you need to bind DB2 packages to the DSN. You must bind a package to every DSN you are going to use to connect to a DB2 database.
To create and bind a package to a DSN:
1. Open a terminal window and change to the $DSHOME/../branded_odbc/lib directory.
2. Enter the command bind20dsn. dsn is the ODBC data source name.
You are prompted for a user ID and password if one is required.
when i isued the command bind20<mydsnname> it says bind20 not found is the utility need to be installed on the server or is it inbuild with datstage while installtion....Pls let me know.....
RK