find repository database

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
karthi_gana
Premium Member
Premium Member
Posts: 729
Joined: Tue Apr 28, 2009 10:49 pm

find repository database

Post by karthi_gana »

All,

In our company we are using DB2 as the repository. I came to know this from the DSADMIN team. is there any way to find the repository database ? i.e through any command.

say for example, in sybase or sqlserver we can use @@version to know the version details. like that is there any command available to say "hey...your repository database is ORACLE or DB2 or ... ?
Karthik
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

You can telnet to your unix server and source the db2profile file to set required environment variables then run db2 from the command line. The file will be under the db2 instance owner's home directory and then under the sqllib subdirectory. That might give you a nice, warm, fuzzy feeling.

You could also try connecting to it from a DB2 stage in a DataStage job. The default database name is XMETA, but that's easily changed during installation, so if you're not sure, ask your admin.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Why do you want to find it?

It is probably better (safer) if it remains "invisible".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
stuartjvnorton
Participant
Posts: 527
Joined: Thu Apr 19, 2007 1:25 am
Location: Melbourne

Post by stuartjvnorton »

odbc.ini will tell you what type of DB it's on if you're using a fairly standard name like XMETA but, as Ray said, it's probably better if people stayed well away...
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

The install log may give you a clue there...
Choose a job you love, and you will never have to work a day in your life. - Confucius
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Re: find repository database

Post by kandyshandy »

karthi_gana wrote:In our company we are using DB2 as the repository. I came to know this from the DSADMIN team.
The way you came to know is the BEST way ;)
Kandy
_________________
Try and Try again…You will succeed atlast!!
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

everything is present in Version.xml
something like

Code: Select all

<PersistedVariable encrypted="false" name="xmeta.db.type" persistent="true" readonly="true" value="db2"/>
Also the configuration in present in resources.xml and can be seen through command line as well as from GUI through WAS administrative console not the IIS console.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply