Accessing DSODB using DB2 Connector Stage
Moderators: chulett, rschirm, roy
Accessing DSODB using DB2 Connector Stage
I am working a fresh installation of DataStage
I am now trying to build a test job to access first xmeta database, then to access dsodb database using DB2 Connector stage
I have a problem ensuring i am using the correct details for the connection in the DB2 connector
Instance: db2inst1
Database: xmeta
Username: xmeta
The connection failed.
An error occurred setting the active DB2 instance to value: xmeta. The active DB2 instance is already set to value: xmeta.
Similarly for dsodb
Instance: db2inst1
Database: dsodb
Username: dsodb
What should be the values in each case
Thanking you all in advance
I am now trying to build a test job to access first xmeta database, then to access dsodb database using DB2 Connector stage
I have a problem ensuring i am using the correct details for the connection in the DB2 connector
Instance: db2inst1
Database: xmeta
Username: xmeta
The connection failed.
An error occurred setting the active DB2 instance to value: xmeta. The active DB2 instance is already set to value: xmeta.
Similarly for dsodb
Instance: db2inst1
Database: dsodb
Username: dsodb
What should be the values in each case
Thanking you all in advance
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you installed DSODB tables in the XMETA database, even though in a separate tablespace, try accessing its contents via XMETA but specifying DSODB as the schema name, for example SELECT * FROM DSODB.tablename;
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Once I am able achieved a DB2 connector connection tested I would have applied a simple sql test of the form you have provided.
At this stage I not able to achieve a connection -I am doing some thing wrong
Addition Info
./DSAppWatcher.sh -test
DSODB is turned ON in the DSODBConfig.cfg file.
Link Monitoring is ON.
Job Run Usage is ON.
Resource Monitoring is ON.
Checking Database Connection:
Driver: com.ibm.db2.jcc.DB2Driver
Connection URL: jdbc:db2://xxxxx:50000/xmeta
Successfully loaded the database driver.
Successfully connected to the database.
Schema: DSODB
DB Schema version number: 2
At this stage I not able to achieve a connection -I am doing some thing wrong
Addition Info
./DSAppWatcher.sh -test
DSODB is turned ON in the DSODBConfig.cfg file.
Link Monitoring is ON.
Job Run Usage is ON.
Resource Monitoring is ON.
Checking Database Connection:
Driver: com.ibm.db2.jcc.DB2Driver
Connection URL: jdbc:db2://xxxxx:50000/xmeta
Successfully loaded the database driver.
Successfully connected to the database.
Schema: DSODB
DB Schema version number: 2
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Successful was from ./DSAppWatcher.sh -test
This morning I was successful in testing the connection to xmeta
Instance: db2inst1
DataBase:xmeta
User: db2inst1
I am now trying to do a similar connection to dsodb, but can not seem to get the following combination correct to do a connection test via db2 connector
Instance:
DataBase:
User:
What would the default values be
Thanking you all in advance
This morning I was successful in testing the connection to xmeta
Instance: db2inst1
DataBase:xmeta
User: db2inst1
I am now trying to do a similar connection to dsodb, but can not seem to get the following combination correct to do a connection test via db2 connector
Instance:
DataBase:
User:
What would the default values be
Thanking you all in advance
-
- Participant
- Posts: 527
- Joined: Thu Apr 19, 2007 1:25 am
- Location: Melbourne
-
- Participant
- Posts: 527
- Joined: Thu Apr 19, 2007 1:25 am
- Location: Melbourne
Take a look at RepositoryAdmin
http://www-01.ibm.com/support/knowledge ... n_ref.html
and this:
http://www-01.ibm.com/support/knowledge ... tails.html
Should be able to tell you all about your registered repositories, databases, etc.
http://www-01.ibm.com/support/knowledge ... n_ref.html
and this:
http://www-01.ibm.com/support/knowledge ... tails.html
Should be able to tell you all about your registered repositories, databases, etc.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In particular:
- RepositoryAdmin.sh -listRepositories
RepositoryAdmin.sh -listDatabasePlatforms
RepositoryAdmin.sh -listDatabaseServers -dt DB2 -dv 10.2
RepositoryAdmin.sh -displayRepository -rn dsodb
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 527
- Joined: Thu Apr 19, 2007 1:25 am
- Location: Melbourne