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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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