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 > privileges for a user execute procedure.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-11, 13:29
georgipa georgipa is online now
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
privileges for a user execute procedure.

Hi Colleagues,

There are in DB2 V9.5 a command for give a user privileges for execute procedure in DB2 V9.5 on AIX in command line?

Thank you for advanced.
Reply With Quote
  #2 (permalink)  
Old 04-05-11, 14:08
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Not a command, but an SQL statement: GRANT
Reply With Quote
  #3 (permalink)  
Old 04-06-11, 14:03
georgipa georgipa is online now
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
Hi Colleagues,

I have a user in the database, I need that this user can to do BIND en DB2 9.5 on AIX. ¿What is the Authorization necesary for the user?.

Thank you for advanved.
Reply With Quote
  #4 (permalink)  
Old 04-06-11, 14:43
georgipa georgipa is online now
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
If this user execute a file.bnd for example: db2 bind miapl.bnd the system show the error: that not have authorization.
Reply With Quote
  #5 (permalink)  
Old 04-06-11, 14:57
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
It is still the GRANT statement: IBM DB2 9.5 Information Center for Linux, UNIX, and Windows

Andy
Reply With Quote
  #6 (permalink)  
Old 04-07-11, 14:42
georgipa georgipa is online now
Registered User
 
Join Date: Dec 2002
Location: Madrid - Spain
Posts: 282
Hi,

My question is very easy, this is an example: In the database there are 1000 packages. but this packages to belong to schemas and users aaaa, bbbb and cccc. Later I create the schema and user dddd. The question is, I need execute the 1000 packages that to belong to schemas and users aaaa, bbbb and cccc. Somebody can explain me the steps for the schema and user dddd can execute this 1000 packages.

Any help is welcome.

Thank you.
Reply With Quote
  #7 (permalink)  
Old 04-07-11, 15:27
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Quote:
Originally Posted by georgipa View Post
Hi,

My question is very easy, this is an example: In the database there are 1000 packages. but this packages to belong to schemas and users aaaa, bbbb and cccc. Later I create the schema and user dddd. The question is, I need execute the 1000 packages that to belong to schemas and users aaaa, bbbb and cccc. Somebody can explain me the steps for the schema and user dddd can execute this 1000 packages.

Any help is welcome.

Thank you.
We have told you several times. It is the GRANT statement. Please read the manual to see its usage.

Andy
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