Page 1 of 1

find repository database

Posted: Sun Feb 26, 2012 3:18 am
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 ... ?

Posted: Sun Feb 26, 2012 10:12 pm
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.

Posted: Sun Feb 26, 2012 10:39 pm
by ray.wurlod
Why do you want to find it?

It is probably better (safer) if it remains "invisible".

Posted: Sun Feb 26, 2012 11:12 pm
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...

Posted: Wed Feb 29, 2012 7:04 pm
by qt_ky
The install log may give you a clue there...

Re: find repository database

Posted: Wed Feb 29, 2012 8:14 pm
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 ;)

Posted: Thu Mar 01, 2012 5:11 am
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.