IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ERROR: DSNE106E is is an unauthorised name


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MoLong

New User


Joined: 07 Feb 2007
Posts: 32
Location: Chennai

PostPosted: Thu Apr 05, 2007 7:01 am
Reply with quote

Hi,
I tried to DCLGEN a table from a normal login. I got the error:
"DSNE106E PLAN DSNEDCL NOT AUTHORISED FOR SUBSYSTEM MYSYS AND AUTHID MYAUID".
I connected thru a admin account and issued the command
"GRANT EXECUTE ON DSNEDCL TO PUBLIC"
but i get the error "DSNEDCL IS AN UNDEFINED NAME".
How do i
1. make user MYAUID to use DCLGEN.
2. assign execute plan previlege to users.

Thanks in advance.
MoLong.
Back to top
View user's profile Send private message
senthilssg

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Thu Apr 05, 2007 10:47 am
Reply with quote

Hi ,

According to input given by you, it seems that plan DSNEDCL is not available in your DB2 subsystem. So, you will have to bind package and plan for DCLGEN then try to execute grant statements.

You can find the bind statements in installation job "DSNTIJSG? (you can find this job in Db2 sample library DSNx10. **.SDSNSAMP).

Code:
BIND PACKAGE (DSNEDCL) MEMBER (DSNECP68) -                   
     ACTION (REPLACE) ISOLATION (CS) ENCODING (EBCDIC) -     
     LIBRARY ('DSN810.SDSNDBRM')                           
BIND PLAN (DSNEDCL) PKLIST (*.DSNEDCL.DSNECP68) -           
     ISOLATION (CS) ENCODING (EBCDIC) ACTION (REPLACE)       



After bind the plan DSNEDCL, try to grant the execute privilege on the plan to public.

Code:
GRANT EXECUTE ON DSNEDCL TO PUBLIC



I hope this helpful for you.

Thanks and Regards
Senthil
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Thu Apr 05, 2007 8:04 pm
Reply with quote

Thanks senthilssg.

I too didnt know this concept. I would have raised this to SYSADM. Here after i will try myself, provided i have access. icon_razz.gif
Back to top
View user's profile Send private message
MoLong

New User


Joined: 07 Feb 2007
Posts: 32
Location: Chennai

PostPosted: Fri Apr 06, 2007 7:23 am
Reply with quote

Thanks Senthil.
Will try your solution and report the progress.

ML.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top