IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Another unusual APA question.


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Tue Apr 29, 2014 9:59 pm
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3049
Location: NYC,USA

PostPosted: Wed Apr 30, 2014 1:22 am
Reply with quote

You may wants to refer this ,

www.redbooks.ibm.com/redbooks/pdfs/sg247661.pdf

Quote:
Just to make things more interesting, the stored procedure does not run DB2.


Also, Why SP with no SQL or DB2?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Apr 30, 2014 1:30 am
Reply with quote

Quote:
Also, Why SP with no SQL or DB2?


because that's the requirement icon_cool.gif
what else ?
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Wed Apr 30, 2014 2:07 am
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 30, 2014 12:05 pm
Reply with quote

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
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Wed Apr 30, 2014 7:49 pm
Reply with quote

enrico,
You gave me a good chuckle!
Back to top
View user's profile Send private message
John Poulakos

Active User


Joined: 13 Jun 2012
Posts: 178
Location: United States

PostPosted: Wed Apr 30, 2014 9:12 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts panel creation question TSO/ISPF 12
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top