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

find the list of users who were given access to db2 database


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Wed Sep 26, 2007 7:24 pm
Reply with quote

How to find the list of users who were given access to the particular database?

Example:
My Database Name is DB01234.

I want the list of users who were given authorization to access this database. Also i have the full authority only to this particular. Is there any way to find this out? Even if we use catalog tables, i dont have the access to the SYSIBM.USERNAMES.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Sep 27, 2007 2:56 am
Reply with quote

Hello,

If you do not have (and cannot get) access to the underlying structures, ask your DBAs to create the info you need.
Back to top
View user's profile Send private message
boo_sri

New User


Joined: 26 Jul 2005
Posts: 36
Location: charlotte

PostPosted: Fri Sep 28, 2007 10:16 am
Reply with quote

I have all the access on this database level. So please let me know how to identify the users of the particular database.
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Fri Sep 28, 2007 10:44 am
Reply with quote

SYSIBM.SYSDBAUTH is the table u need to check..SYSIBM.USERNAMES tables is used for DDF connection setting only. Try a query like
Select * from SYSIBM.SYSDBAUTH where Name='DB01234';
Back to top
View user's profile Send private message
mbr_raja

New User


Joined: 15 Nov 2004
Posts: 26
Location: Chennai, India

PostPosted: Fri Sep 28, 2007 12:58 pm
Reply with quote

There are three ways to findout list of users to grant access to specific database. They are

1) run the following query to check the list of users to access specific database. select * from sysibm. sysdbauth where dbname = ''DB01234';

2) check with DBA by running list of threads, which inturns will display all the active connections connect to specific database at the particular instance of time

2) Check with Security group(RACF Admin) to track the specific database access with type of activity within the time range. They have their own logs to detect and trace these activity
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 Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts What database does Jobtrac use CA Products 4
Search our Forums:

Back to Top