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
 

 

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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 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


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