Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Another unusual APA question.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
John Poulakos

New User


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

PostPosted: Tue Apr 29, 2014 9:59 pm    Post subject: Another unusual APA question.
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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

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

You may wants to refer this ,

http://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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Apr 30, 2014 1:30 am    Post subject: Reply to: Another unusual APA question.
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

New User


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

PostPosted: Wed Apr 30, 2014 2:07 am    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Apr 30, 2014 12:05 pm    Post subject: Reply to: Another unusual APA question.
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    Post subject:
Reply with quote

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

New User


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

PostPosted: Wed Apr 30, 2014 9:12 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fault Analyzer - listings question. egrove IBM Tools 4 Thu Aug 11, 2016 5:31 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts SQL Order By related question Joseph K Thomas DB2 8 Fri Mar 18, 2016 12:53 pm
No new posts DFSort Question krrp DFSORT/ICETOOL 9 Mon Mar 07, 2016 7:11 pm
No new posts Question: REORG on LOB tablespaces rakesh1155 DB2 1 Fri Aug 14, 2015 2:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us