Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Grant create table privileges to a particular user

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

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Fri Sep 12, 2008 1:35 am    Post subject: Grant create table privileges to a particular user
Reply with quote

Hi all,

How to grant create table privileges to a particular user.
I am trying in the following way,Please correct me.

GRANT CREATETAB ON DBLCST5 TO T0J0AJ7;

Error:

---------+---------+---------+---------+---------+---------+---------+-----
SET CURRENT SQLID='LCSADM';
---------+---------+---------+---------+---------+---------+---------+-----
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0
---------+---------+---------+---------+---------+---------+---------+-----
GRANT CREATETAB ON DBLCST5 TO T0J0AJ7;
---------+---------+---------+---------+---------+---------+---------+-----
DSNT408I SQLCODE = -557, ERROR: INCONSISTENT GRANT/REVOKE KEYWORD (IMPLIED
TABLE). PERMITTED KEYWORDS ARE DATABASE
DSNT418I SQLSTATE = 42852 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNHSM3A SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 2801 0 0 -1 1 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'00000AF1' X'00000000' X'00000000' X'FFFFFFFF'
X'00000001' X'00000000' SQL DIAGNOSTIC INFORMATION
---------+---------+---------+---------+---------+---------+---------+-----
DSNE618I ROLLBACK PERFORMED, SQLCODE IS 0
DSNE616I STATEMENT EXECUTION WAS SUCCESSFUL, SQLCODE IS 0
Back to top
View user's profile Send private message

satyender

New User


Joined: 05 Jan 2008
Posts: 50
Location: Olympia, WA, USA

PostPosted: Fri Sep 12, 2008 2:30 am    Post subject:
Reply with quote

Hi all,

I have modified the syntax:

GRANT CREATETAB ON DBLCST5 TO user T0J0AJ7;

solution
my id doesnt have the privileges to do this.
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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us