Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1137
  • Last Modified:

Performance tuning tools for cobol stored procedure in z/os

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
Nigelle
Asked:
Nigelle
  • 2
  • 2
1 Solution
 
NigelleAuthor Commented:
or pls  tell me how to do with platinum tools or explain utility
0
 
momi_sabagCommented:
which version of db2 on zos are you using ?
0
 
NigelleAuthor Commented:
version 8.0
0
 
momi_sabagCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now