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
 

 

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: 1187
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
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Syntax to check the first 4 digits of... kshirabdhi DFSORT/ICETOOL 10 Tue May 03, 2016 12:21 pm
No new posts Check special resource availability w... pinimo JCL & VSAM 8 Fri Apr 15, 2016 8:18 pm


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