View previous topic :: View next topic
|
Author |
Message |
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
If I start a monitoring session against WLM and run a stored procedure, APA shows no CPU time because WLM runs the stored procedure in another address space and APA doesn't track it. The JES log for WLM shows the effects of running that stored procedure, though.
So, the question is how do I get APA to capture the time spent in that stored procedure? Just to make things more interesting, the stored procedure does not run DB2. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3049 Location: NYC,USA
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
Also, Why SP with no SQL or DB2? |
because that's the requirement
what else ? |
|
Back to top |
|
|
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
Thanks, but I have seen that. I have also asked the contacts I have at IBM and they don't know.
As for SP with no SQL or DB2, it's part of a new product we are developing. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Why would you monitor WLM? WLM is just shuffling around work to be done, and doesnt do the work itself.
You could run your application outside WLM with a JES mode jobclass with a dedicated initiator and then monitor your application. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
enrico,
You gave me a good chuckle! |
|
Back to top |
|
|
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
DB2 uses stored procedures, so we need to use them, for compatibility. I have investigated setting up a simulated environment where the stored procedure will run. But that would lose the time WLM takes to dispatch the stored procedure to another address space. This time is significant and I don't know that I can afford to lose it. |
|
Back to top |
|
|
|