View previous topic :: View next topic |
Author |
Message |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Wed Jun 02, 2004 11:46 am Post subject: how can i know the programs which are touching a table |
|
|
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 |
|
 |
vini Intermediate
Joined: 12 Jan 2004 Posts: 240 Topics: 48 Location: Maryland
|
Posted: Wed Jun 02, 2004 12:21 pm Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Wed Jun 02, 2004 12:24 pm Post subject: |
|
|
Thanks.
We use to do that.
But, is there a more technical way (through catalog o something like that).
Kind regards. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Jun 02, 2004 12:50 pm Post subject: |
|
|
Monaco,
Did you read my earlier response?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Wed Jun 02, 2004 12:57 pm Post subject: |
|
|
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 |
|
 |
SureshKumar Intermediate
Joined: 23 Jan 2003 Posts: 211 Topics: 21
|
Posted: Thu Jun 03, 2004 6:42 am Post subject: |
|
|
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 |
|
 |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Thu Jun 03, 2004 7:34 am Post subject: |
|
|
Thanks SureshKumar.
It is very usefully.
Thanks to everyone for your help. |
|
Back to top |
|
 |
monaco Beginner
Joined: 20 May 2004 Posts: 77 Topics: 31
|
Posted: Thu Jun 03, 2004 8:13 am Post subject: |
|
|
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 |
|
 |
|
|