MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to know which program using the table?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
videlord
Beginner


Joined: 09 Dec 2004
Posts: 147
Topics: 19

PostPosted: Sat Jan 29, 2005 2:25 am    Post subject: How to know which program using the table? Reply with quote

Can I find out how many and which programs (DBRM/PACKAGE) using one table in current DB2 subsystem?
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Mon Jan 31, 2005 6:57 am    Post subject: Reply with quote

You find the dependencies of packages in SYSIBM.SYSPACKDEP and those of programms bound directly to a plan in SYSIBM.SYSPLANDEP.

regards
Christian
Back to top
View user's profile Send private message
monaco
Beginner


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Tue Feb 01, 2005 12:17 pm    Post subject: Reply with quote

Try with this query:

Code:

SELECT DISTINCT(GRANTEE)
      ,SELECTAUTH
      ,INSERTAUTH
      ,UPDATEAUTH
      ,DELETEAUTH 
  FROM SYSIBM.SYSTABAUTH
 WHERE TCREATOR LIKE 'AISD3*'
   AND GRANTEETYPE = 'P'
   AND TTNAME LIKE 'KSI%'
 ORDER BY GRANTEE
         ,DELETEAUTH DESC
         ,INSERTAUTH DESC
         ,SELECTAUTH DESC
         ,UPDATEAUTH DESC
   ;


Kind regards.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group