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
 
ERROR: DSNE106E is is an unauthorised name

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: ERROR: DSNE106E is is an unauthorised name
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    Post subject: Re: ERROR: DSNE106E is is an unauthorised name
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    Post subject:
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    Post subject:
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    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 -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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