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
 
how to check the previlages of particulat userid for DB2 tab

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

New User


Joined: 30 Aug 2006
Posts: 30
Location: mumbai

PostPosted: Wed Sep 06, 2006 3:55 pm    Post subject: how to check the previlages of particulat userid for DB2 tab
Reply with quote

hi.

i was tring to load sequential file in to the table but i could not able to because i have not load previlages. so i want to check the all previlages
i have. can i see all previlages from any where.?

Error in Spool
=============
USER DOES NOT HAVE 'LOAD' PRIVILEGE ON TABLE 'xxxxxx.table name'
'user id' DOES NOT HAVE SUFFICIENT PRIVILEGES TO EXECUTE 'LOAD' ON DATTABASE 'xxxxxxxxxx'
UTILITY EXECUTION COMPLETE, RETURN CODE = 8

if any body have any idea, please give your needfull.

Regards
soumya Ranjan Pradhan
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1191
Location: Bangalore,India

PostPosted: Wed Sep 06, 2006 4:04 pm    Post subject:
Reply with quote

U must me having some option in tso to go to DB2 admin there after selecting DB2 SUBSYSTEM just type the table name & give T option on command line then it will show u the table then just type a against table name it will show whatever authority u have on the table.

Hope it will be helpful...
i think we can also find by a sql i m wrking on that
Back to top
View user's profile Send private message
sarunkumaar

New User


Joined: 31 Aug 2006
Posts: 15
Location: Chennai, India

PostPosted: Wed Sep 06, 2006 5:03 pm    Post subject:
Reply with quote

You can check the privilage assocaited with that table by quering the SYSIBM.SYSTABAUTH.

i.e SELECT * FROM SYSIBM.SYSTABAUTH
WHERE TTNAME = 'YOUR_TABLE_NAME';
Back to top
View user's profile Send private message
soumyaranjan007

New User


Joined: 30 Aug 2006
Posts: 30
Location: mumbai

PostPosted: Thu Sep 07, 2006 1:14 pm    Post subject: how to check the previlages of particulat userid for DB2 tab
Reply with quote

Hi,

i checked in SYSIBM.SYSTABAUTH table . This table is for chack of only select, delete, update etc but not for LOAD authority.

So i am today in the same possition as yesterday. if you have any inovative ideas, do help me out.

Thanks
Soumya Ranjan Pradhan
Back to top
View user's profile Send private message
surya_pathaus

Active User


Joined: 28 Aug 2006
Posts: 110

PostPosted: Thu Sep 07, 2006 1:52 pm    Post subject:
Reply with quote

Hi,

I feel Loading into table means insert into table.
If you have insert authority then you can load into table.

Check in SYSIBM.SYSTABAUTH table for "INSERTAUTH" column whether it is having value "G" or not. If it is "G" then you have Grant to insert/Load otherwise you need autherization on that table.
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
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm
No new posts The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm

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