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 > SQL1042C error while executing a tablespace query

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-27-07, 11:06
samu78nyc samu78nyc is offline
Registered User
 
Join Date: Nov 2006
Posts: 31
SQL1042C error while executing a tablespace query

Hi all,
I am executing the following query to find out if the tablespaces have enough pages. This query works on all the servers except for one. The error is SQL1042C An unexpected system error occurred. SQLSTATE=58004
Query:
select count(*) from table(snapshot_tbs_cfg('',0)) as x where cast((cast(used_pages as double)/cast(usable_pages as double))*100 as integer) > 80 and usable_pages!=0 and tablespace_type=0

Does anyone experienced this error before?

"DB2 v8.1.1.96", "FixPak "10".
OS : AIX 5.1.0.0



Thanks all..
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