If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > changing db cfg parameter

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 04:29
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Question changing db cfg parameter

Hello all!

Does someone knows how I can change MIRRORLOGPATH db cfg parameter form something to nothing?

This is what I have.

$db2 get db cfg for mydb
Path to log files = /home/db2inst1/NODE0000/SQL00001/SQLOGDIR/
Overflow log path (OVERFLOWLOGPATH) =
Mirror log path (MIRRORLOGPATH) = /mydb_copy_logs/MYDB/NODE0000/
First active log file = S0001339.LOG

I want to set this parameter to "nothing" but when I do this I receive error:

$ db2 update db cfg using mirrorlogpath
SQL0104N An unexpected token "END-OF-STATEMENT" was found following
"MIRRORLOGPATH". Expected tokens may include: "<identifier>".
SQLSTATE=42601

I have to put some identifier, but which one?

DB2 v.8 , AIX

Thank you in advance...
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 04:38
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,

Have you tried to write:
db2 update db cfg using mirrorlogpath =

Hope this helps,
Grofaty
Reply With Quote
  #3 (permalink)  
Old 04-29-04, 05:53
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Unfortunetly - still the same error...
Reply With Quote
  #4 (permalink)  
Old 04-29-04, 06:02
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
I would try =NO or =NULL
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #5 (permalink)  
Old 04-29-04, 06:15
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
Arrow ''

update db cfg using MIRRORLOGPATH '' (two single quotes)

should do the trick (I hope :-))

BOW
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
  #6 (permalink)  
Old 04-29-04, 06:33
NNicole NNicole is offline
Registered User
 
Join Date: May 2003
Posts: 57
Quote:
Originally Posted by Tank
update db cfg using MIRRORLOGPATH '' (two single quotes)

should do the trick (I hope :-))

BOW
Thank you ... This works!!

NNicole
Reply With Quote
  #7 (permalink)  
Old 11-23-11, 03:37
ssatish.81 ssatish.81 is offline
Registered User
 
Join Date: Mar 2011
Posts: 41
Below is the right way of doing it .

DB2 update db cfg using MIRRORLOGPATH DEFAULT

Regards
Sam
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On