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 > Database damaged error - DB21034E

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-22-04, 11:23
dsusendran dsusendran is offline
Registered User
 
Join Date: Apr 2004
Location: Inside Intel
Posts: 165
Unhappy Database damaged error - DB21034E

Hi all,

I am at 8.1.6 connect unlimited edition on Windows 2000 server with latest service packs.

I have a database with 350 tables in it. When i try to create a procedure using the command center, i get the following error

Code:

CREATE PROCEDURE DPS.TEST (
IN p_CONTACT_ID VARCHAR(20)
,IN p_DT TIMESTAMP
,OUT p_NAME VARCHAR(15)
,OUT p_AGE VARCHAR(15)
,OUT p_PHONE VARCHAR(15)
)

BEGIN /* HIDDEN BODY */ END

Error:

DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL1034C The database is damaged. All applications processing the database have been stopped. SQLSTATE=58031

The database looks good and i can retrieve / update data. All other connected users are kicked out. Any suggestions ?

Thanks in advance,

Newbie
Reply With Quote
  #2 (permalink)  
Old 07-22-04, 12:16
famudba famudba is offline
Registered User
 
Join Date: Jan 2004
Location: Tallahassee, FL, USA
Posts: 96
run INSPECT CHECK command for database


that will give if any

also check you DB cfg

db2 get db cfg for DBname

for

Database is consistent = YES

if yes , you DB is inconsistent stats


stop & start your instance


db2stop
db2start




Thank You


Lekharaju Ennam
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