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 > Error while accessing snapshot tables.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-28-06, 02:30
esanthosh esanthosh is offline
Registered User
 
Join Date: Oct 2005
Posts: 8
Error while accessing snapshot tables.

Hi,

I executed the below statement for get tablespace informations. But, I am getting an error.



db2 "select tablespace_id,substr(tablespace_name,1,20),total_p ages,used_pages,free_pages from table (snapshot_tbs_cfg('',-1)) as snapshot_tbs order by total_pages desc fetch first 20 rows only"

SQL1042C An unexpected system error occurred. SQLSTATE=58004

Please help me in resolving this problem.

Regards,
Santhosh
Reply With Quote
  #2 (permalink)  
Old 08-28-06, 06:45
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
ensure that the system time and date is correctly set, and make sure
your system has enough memory and swapping/paging space
available.
Resubmit the current command.
If the error continues, stop the database manager and restart
it.
check more by typing (clp)
C:\Program Files\IBM\SQLLIB\BIN>db2 ? SQL1042C

Rahul Singh
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