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
 
Do we have the system table to check Read/ write access ?

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

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Nov 11, 2008 2:19 pm    Post subject: Do we have the system table to check Read/ write access ?
Reply with quote

Hi,

Do we have the system table in DB2 to check the read/write access for the user-id for the perticular table.

Thanks,
Amol
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Tue Nov 11, 2008 2:39 pm    Post subject: Reply to: Do we have the system table to check Read/ write a
Reply with quote

if You have the need to know, the database/security support groups
will be glad(it depends) to provide You the info
Back to top
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Nov 11, 2008 3:07 pm    Post subject: Reply to: Do we have the system table to check Read/ write a
Reply with quote

enrico,

Thanks a lot for suggestion. icon_biggrin.gif

Regards,
Amol
Back to top
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Nov 11, 2008 7:18 pm    Post subject: Reply to: Do we have the system table to check Read/ write a
Reply with quote

enrico,

I have refer DB2- Manual and found that we have system table

SYSIBM.SYSTABAUTH With columns

GRANTOR
GRANTEE
GRANTEETYPE
DBNAME
SCREATOR
STNAME
TCREATOR
TTNAME - Will be the table name
AUTHHOWGOT
TIMESTAMP
DATEGRANTED
TIMEGRANTED
UPDATECOLS
ALTERAUTH
DELETEAUTH
INDEXAUTH
INSERTAUTH
SELECTAUTH
UPDATEAUTH
IBMREQD
UPDATEAUTH
IBMREQD
GRANTEELOCATION
LOCATION
COLLID
CONTOKEN
CAPTUREAUTH
REFERENCESAUTH
REFCOLS
GRANTEDTS
TRIGGERAUTH

We can get desired information from this table


Regards,
Amol
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Tue Nov 11, 2008 7:31 pm    Post subject:
Reply with quote

Quote:
We can get desired information from this table

Amol,

Yes, it'll give information on the authids/plans/packages and their respective privileges on a table. But the original post was regarding the read/write access for a particular user-id for a table. Do we get the same info from this table?
Back to top
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Tue Nov 11, 2008 7:57 pm    Post subject:
Reply with quote

Arun,

You have column GRANTEE - Group-name.
You should know the group to which you belong or grantee can be public.

Also you have the columns UPDATECOLS, ALTERAUTH, DELETEAUTH, SELECTAUTH, UPDATEAUTH which will tell you what access your id-has
on that table ( Column =TTNAME )

Regards,
Amol
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Tue Nov 11, 2008 9:08 pm    Post subject:
Reply with quote

Quote:
GRANTEE VARCHAR(128) NOT NULL
Authorization ID of the user who holds the privileges or the name of an application plan or package that uses the privileges. PUBLIC for a grant to PUBLIC. PUBLIC followed by an asterisk for a grant to PUBLIC AT ALL LOCATIONS.


Just curious where do I see the Auth-id for a particular user? icon_rolleyes.gif
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 Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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