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

how to check the previlages of particulat userid for DB2 tab


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 1208
Location: Bangalore,India

PostPosted: Wed Sep 06, 2006 4:04 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts How to check whether who renamed the ... JCL & VSAM 3
No new posts No ++JCLIN, APPLY CHECK job JCL & VSAM 1
No new posts EMPTY file check scenario JCL & VSAM 6
Search our Forums:

Back to Top