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 > SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-11, 12:37
Pawan Kumar Pawan Kumar is offline
Registered User
 
Join Date: Mar 2008
Posts: 120
SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() error

Hi,

I tried to use
SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() procedure to revalidate the invalid
objects.

DB2 9.7 FP2,Window 32 BIT

SP1 is invalid procedure and SP2 is valid.


$ db2 "CALL
SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS('procedure', 'A',
'SP1')"
SQL20508N An error occurred during the revalidation of
object "A
.SP1". Operation "REVALIDATION" failed with
SQLCODE "-551",
SQLSTATE "42501", and message tokens "PKUMAR|EXECUTE|DTOP".
SQLSTATE=5UA03


Its throwing error related to permission
but there exist all permissions even Its running for valid objects.


$ db2 "CALL
SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS('procedure', 'A',
'SP2) "

Return Status = 0


I also did db2rbind for all but same
error.


SYSPROC.ADMIN_REVALIDATE_DB_OBJECTS() link=> IBM DB2 9.7 for Linux, UNIX and Windows Information Center

Could you throw some light on this.
__________________
Regards
Pawan Kumar
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