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 > update db cfg command help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-17-05, 13:09
Lxw176 Lxw176 is offline
Registered User
 
Join Date: Feb 2005
Posts: 36
update db cfg command help

Hi,

The db cfg file for my database was somthing like:
Log retain for recovery status =RECOVERY
User exit for logging status = NO
Log retain for recovery enabled (LOGRETAIN) = RECOVERY

after, I used command: db2 update db cfg for smeal using logretain off, the db cfg file become:
Log retain for recovery status =NO
User exit for logging status = NO
Log retain for recovery enabled (LOGRETAIN) = RECOVERY

Now, in order to be able to backup tablespace, I want to recover db cfg file to the original one as:
Log retain for recovery status =RECOVERY

by issuing command: update db cfg using log_retain_status recovery

I received the following error:
SQL0104N An unexpected token "log_retain_status" was found following "USING".
Expected tokens may include: "ADSM_MGMTCLASS". SQLSTATE=42601

Does, anyone can tell me what's the update db command to change logretain for recovery status? and how to make tablespace backup available?

Thanks!
Lan
Reply With Quote
  #2 (permalink)  
Old 11-17-05, 13:21
dbamota dbamota is offline
Registered User
 
Join Date: Sep 2003
Posts: 237
I think you meant to use
db2 update db cfg for smeal using logretain recovery
__________________
mota
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