DB2 catalog tables

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
prasad_mainframe
Member
Posts: 1
Joined: Tue Jan 23, 2007 7:22 pm

DB2 catalog tables

Post by prasad_mainframe » Tue Jan 23, 2007 7:30 pm

Hi,

I would like to know where(into which catalog tables) DB2 makes entries,
when I execute either GRANT or REVOKE stmt.
ex: GRANT SELECT ON TABLE1 TO USER1;
Now, in which catalog table I can find that USER1 has been given access for SELECT on TABLE1.

thanks,
prasad_mainframe

User avatar
muraligaru1
Moderator
Posts: 43
Joined: Sat Nov 11, 2006 7:03 pm

DB2 - System tables

Post by muraligaru1 » Mon Feb 19, 2007 7:42 am

Hi Prasad,

I have found following tables, when i done some R&D.

SYSIBM.SYSUSERAUTH
SYSIBM.SYSPACKAUTH
SYSIBM.SYSPLANAUTH
SYSIBM.SYSRESAUTH
SYSIBM.SYSTABAUTH
SYSDBAUTH


SYSTABAUTH table may contain the requested information, check out this table.


Regards,
Murali

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others