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 can i know the programs which are touching a table

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


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Wed Jun 02, 2004 11:46 am    Post subject: how can i know the programs which are touching a table Reply with quote

Hi all,

is there a way to know the cobol programs which are selecting, updating, deleting, etc a concret table?

Probably in catalog tables (at the bind time) we can find this information. But i dont know how to do it.

Kind regards.
Back to top
View user's profile Send private message
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Wed Jun 02, 2004 12:21 pm    Post subject: Reply with quote

The simplest way is to Search in ISPF Option 3.14 . Use the Table Name as your Search String and your Source Library/PDS as the one to be searched.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jun 02, 2004 12:22 pm    Post subject: Reply with quote

monaco,

Check my posting in this topic

http://www.mvsforums.com/helpboards/viewtopic.php?t=2218&highlight=sysibm

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
monaco
Beginner


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Wed Jun 02, 2004 12:24 pm    Post subject: Reply with quote

Thanks.
We use to do that.

But, is there a more technical way (through catalog o something like that).

Kind regards.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jun 02, 2004 12:50 pm    Post subject: Reply with quote

Monaco,

Did you read my earlier response?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
monaco
Beginner


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Wed Jun 02, 2004 12:57 pm    Post subject: Reply with quote

Sorry Kolusu,

while i was writing the before answer you sent you reply.

Thanks a lot.
I'm following the way you told me.

i'll let you know if i find something.

Thanks a lot.
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu Jun 03, 2004 6:42 am    Post subject: Reply with quote

Monaco,
Try this...

SELECT DISTINCT(GRANTEE),SELECTAUTH,INSERTAUTH,UPDATEAUTH,DELETEAUTH
FROM SYSIBM.SYSTABAUTH
WHERE TCREATOR = 'xxxxxxxx'
AND TTNAME = 'xxxxxxxxxx'
AND GRANTEETYPE = 'P'
ORDER BY GRANTEE,DELETEAUTH DESC,INSERTAUTH DESC,
SELECTAUTH DESC ,UPDATEAUTH DESC
WITH UR
Back to top
View user's profile Send private message
monaco
Beginner


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Thu Jun 03, 2004 7:34 am    Post subject: Reply with quote

Thanks SureshKumar.
It is very usefully.

Thanks to everyone for your help.
Back to top
View user's profile Send private message
monaco
Beginner


Joined: 20 May 2004
Posts: 77
Topics: 31

PostPosted: Thu Jun 03, 2004 8:13 am    Post subject: Reply with quote

Hi again,

is there a way to get the programs which are pointing a single column?

If a know the column name, can i get which programs points there?

I've been trying with the table SYSIBM.SYSCOLAUTH, but in this table you can see the programs which points there but with update privilige. I'd like to know also select, insert and delete privileges.

Thank a lot.
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