Solved

Performance tuning tools for cobol stored procedure in z/os

Posted on 2008-06-18
6
1,118 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 

Author Comment

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

Expert Comment

by:momi_sabag
ID: 21813068
which version of db2 on zos are you using ?
0
 

Author Comment

by:Nigelle
ID: 21843394
version 8.0
0
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
ID: 21843588
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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

763 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