Unix Technical Forum

Searching DB_PATH

This is a discussion on Searching DB_PATH within the DB2 forums, part of the Database Server Software category; --> Hello, I want to change a database name using the db2relocatedb command. Since I didn't install the database, I ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:12 AM
Dirk Deimeke
 
Posts: n/a
Default Searching DB_PATH

Hello,

I want to change a database name using the db2relocatedb command.

Since I didn't install the database, I don't know the database path.

How can I find the path out?

Thanks in advance for any support.

Dirk


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:12 AM
Joachim Müller
 
Posts: n/a
Default Re: Searching DB_PATH

Hello Dirk,

how about(UNIX):

db2 get dbm cfg | grep -i 'default database path'

regards,
Joachim Müller

"Dirk Deimeke" <deimeke@gmx.de> schrieb im Newsbeitrag
news:1099902181.8709@deimeke.newsoffice.de...
> Hello,
>
> I want to change a database name using the db2relocatedb command.
>
> Since I didn't install the database, I don't know the database path.
>
> How can I find the path out?
>
> Thanks in advance for any support.
>
> Dirk
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 02:12 AM
Dirk Deimeke
 
Posts: n/a
Default Re: Searching DB_PATH

Joachim Müller:

> how about(UNIX):
> db2 get dbm cfg | grep -i 'default database path'


that was too easy ... it works (Windows, not my decision).

Thanks a lot!

Dirk


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:02 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com