Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to provide access to other users for the table?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 44
Location: Delhi

PostPosted: Tue Dec 14, 2010 12:28 pm    Post subject: how to provide access to other users for the table?
Reply with quote

hi
can somebody tel me what is the command for providing access to my tables for other users.

i am using :
GRANT ALL ACCESS ON (userid.table name) TO PUBLIC

but this command is not working.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Dec 14, 2010 12:31 pm    Post subject:
Reply with quote

What do you mean by "not working"? icon_rolleyes.gif

O.
Back to top
View user's profile Send private message
ssmukul

New User


Joined: 22 Jan 2008
Posts: 19
Location: India

PostPosted: Tue Dec 14, 2010 12:35 pm    Post subject:
Reply with quote

Hi Nandeshwar,

Please try to run the Grant query without ACCESS keyword.

i.e.
GRANT ALL ON (Table name) TO PUBLIC.

Thanks,
Back to top
View user's profile Send private message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 44
Location: Delhi

PostPosted: Tue Dec 14, 2010 2:32 pm    Post subject:
Reply with quote

ofer71 wrote:
What do you mean by "not working"? icon_rolleyes.gif

O.

i meant this command is not working in QMF
Its showing display message as" GRANT CANNOT BE FOUND."
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1280
Location: Belgium

PostPosted: Tue Dec 14, 2010 4:42 pm    Post subject:
Reply with quote

don't run it as a QMF command, put it in a query and run it.

and no need to grant all.
"grant select on table xxxxx " might be sufficient.
Back to top
View user's profile Send private message
nandeshwar

New User


Joined: 11 Oct 2010
Posts: 44
Location: Delhi

PostPosted: Tue Dec 21, 2010 10:56 am    Post subject:
Reply with quote

ssmukul wrote:
Hi Nandeshwar,

Please try to run the Grant query without ACCESS keyword.

i.e.
GRANT ALL ON (Table name) TO PUBLIC.

Thanks,


thanks mukul.. it worked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us