Solved

Performance tuning tools for cobol stored procedure in z/os

Posted on 2008-06-18
6
1,093 Views
Last Modified: 2008-09-17
Hi,

  I need to use a performance tool for stored procedures written in cobol and in  z/os.I have strobe and omegamon.How do I use them for stored procedures. Will be of great help if you could explain with screenshots.
0
Comment
Question by:Nigelle
  • 2
  • 2
6 Comments
 

Author Comment

by:Nigelle
Comment Utility
or pls  tell me how to do with platinum tools or explain utility
0
 
LVL 37

Expert Comment

by:momi_sabag
Comment Utility
which version of db2 on zos are you using ?
0
 

Author Comment

by:Nigelle
Comment Utility
version 8.0
0
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
Comment Utility
if you have dynamic sql in the proceudre:
open perfomance trace with ifcid 317,318
run the stored procedure
run - explain statement to the statement cache
check the access path that was choosen for the dynamic statements in your procedure


if you have static sql
bind the package of the procedure with explain(yes) and use visual explain to check out the access path choosen for the statements in your package


another way i used to do
in the omegamon go to panel T (threads), then run your stored procedure
in that panel search for your stored procecdure, enter to it (using F10v when cursor positioned on
it)
then you use f to see the current sql statement,
just hit the enter a couple of times as the procedure run and see on which statement it spens most of it's time

or you can open an application trace in the omegamon
if i remember correctly from the main menu you press a
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now