Solved

Performance tuning tools for cobol stored procedure in z/os

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Date and Time Conversion from Numeric Fields 21 273
I want coulmn name and value as output 18 62
Continuously query a database in Java 10 143
iSeries DB2 Query 2 91
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 (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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

15 Experts available now in Live!

Get 1:1 Help Now