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 

Identifying update programs in a transaction

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


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Wed Apr 26, 2006 7:33 am    Post subject: Identifying update programs in a transaction Reply with quote

I have to analyze a CICS transaction that involves more than a 100 dynamically called modules. The requirement is to identify all modules (invoked in this transaction) which have a database update/insert function.

Are there any tools or utilities which can be used for carrying out this analysis ?
Back to top
View user's profile Send private message
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Wed Apr 26, 2006 3:11 pm    Post subject: Reply with quote

Does your shop have any monitoring tool like DB2MON /OMEGAMON.? If you have any such toos you will be able to identify the SQL functions attched to the CICS thread.
Back to top
View user's profile Send private message
astro
Beginner


Joined: 05 Oct 2005
Posts: 31
Topics: 7

PostPosted: Thu Apr 27, 2006 11:17 am    Post subject: Reply with quote

Did you think of the option of querying for INSERTAUTH = 'Y' or UPDATEAUTH='Y' in SYSIBM.SYSTABAUTH tables with all your called modules as 'GRANTEE' and 'GRANTEETYPE = 'P'' ?
I am not sure if your requirement is so complex than I think.
Back to top
View user's profile Send private message
schintala
Beginner


Joined: 18 May 2005
Posts: 108
Topics: 31
Location: USA

PostPosted: Thu Apr 27, 2006 2:04 pm    Post subject: Reply with quote

DB2 catalogue table SYSIBM.SYSTABAUTH specifies only priviligies of users who can access which SQL function on the table. CXVXBX requirement is to find the SQL functions attached to a CICS transaction.
Back to top
View user's profile Send private message
astro
Beginner


Joined: 05 Oct 2005
Posts: 31
Topics: 7

PostPosted: Fri Apr 28, 2006 10:20 am    Post subject: Reply with quote

Hello Schintala,
If I assume that CXVXBX is mentioning the programs as modules then it can be very well found out from SYSIBM.SYSTABAUTH, which program is inserting/updating which db2 tables with the query I have posted before.
As you said, you can also find out the privileges of the users. But the GRANTEETYPE associated with the users are space.(' '). If it is program, then its GRANTEETYPE = 'P'.
Back to top
View user's profile Send private message
cxvxbx
Beginner


Joined: 26 Apr 2006
Posts: 16
Topics: 8
Location: Utopia

PostPosted: Wed May 03, 2006 1:09 am    Post subject: Reply with quote

Thanks for the response schintala & astro.

Our shop does have OMEGAMON and we are exploring the usage for the same.

About using SYSIBM.SYSTABAUTH, there is a small glitch here. We do not have a list of modules that will be invoked in this transaction. Without having this list, it would'nt be possible to use this option.

Thanks again, your inputs have been of great help. Do let me know if there are any other alternatives which can be explored.
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