Solved

Performance tuning tools for cobol stored procedure in z/os

Posted on 2008-06-18
6
1,121 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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