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 > DB2 Command center - Execute Privilege

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-11-03, 13:15
rmunukutla rmunukutla is offline
Registered User
 
Join Date: Nov 2003
Posts: 1
DB2 Command center - Execute Privilege

Hi,

I get the following message when I try to submit any SQL in my command center against one data source (production). It works fine for other data sources.

SQL0551N "MyID" does not have the privilege to perform operation "EXECUTE
PACKAGE" on object "NULLID.SQLC2D03". SQLSTATE=42501

I have full access against production tables and the datasource parameters are correct. I am able to establish connection but not able to execute even a SELECT statement. We use IBM DB2 for Windows NT ver 7.

I would highly appreciate if you can let me know if this can be fixed on the client.

Thanks,
Ravi.
Reply With Quote
  #2 (permalink)  
Old 11-11-03, 15:43
UnicornLtd UnicornLtd is offline
Registered User
 
Join Date: Oct 2003
Posts: 5
I have seen this happen before. Occasionally, a bind doesn't get granted to public.

Try logging in as the admin user in Control Center, then grant execute privilege on that package.
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