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 > How to UNQUIESCE tablespaces??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-04, 17:11
dsusendran dsusendran is offline
Registered User
 
Join Date: Apr 2004
Location: Inside Intel
Posts: 165
Unhappy How to UNQUIESCE tablespaces??

I used the following code, to reset.

Code:
CONNECT TO DBO user administrator using ****;
QUIESCE TABLESPACES FOR TABLE DBO.USER RESET;
CONNECT RESET;

It wouldnt allow me to reset.

The error i got was:

SQL3805N The state of the application or of one or more table spaces for the
table specified prohibits the loadapi action or quiescemode "9". Reason code=
"1".

I tried load command to import data to the USER table. It did not go through correctly. For some stupid reason i quiesced it (to exclusive mode) and now i am unable to undo it. Not my day at all.....

Thanks in Advance,

Newbie
Reply With Quote
  #2 (permalink)  
Old 05-13-04, 20:26
sathyaram_s sathyaram_s is online now
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Try issuing the same LOAD command with TERMINATE Option.

Eg. Load from file1 of de1 TERMINATE into table1

You should do this as the same user issued the load command.

HTH

sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 05-13-04, 22:32
dsusendran dsusendran is offline
Registered User
 
Join Date: Apr 2004
Location: Inside Intel
Posts: 165
Talking Thanks!

Thanks! It worked!!
Reply With Quote
  #4 (permalink)  
Old 05-14-04, 08:39
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Isn't the new LOAD...TERMINATE wonderful?

Just a note to others following this thread, that LOAD... TERMINATE in older versions messes things up royally... it used to put the tablespace into "restore pending", so use it with caution!

I believe this was fixed in v7 GA, but don't quote me on that... and certainly don't use it without consulting the docs!
__________________
--
Jonathan Petruk
DB2 Database Consultant
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