Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
On 14-Oct-2016 12:19 -0500, Needles,Stephen J wrote:
[…] In the program that is the stored proc is an SQL statement. When I
test the statement alone, I can route its output to a table and
clock the whole process.
But when I try to do the same thing using the stored procedure, I
am not allowed. […]
- grant public write access to your log table
- use a stored procedure, running under owner for logging
- write the information to the joblog via QMHSNDPM
- if it's for test and verification only, use Database Monitor
(STRDBMON) to get the information
I need to be able to find out how long it takes to execute a
stored procedure, all the way through the open *and consumption*
[of] its cursors.
Does anyone have an idea that can allow me to do something like:
Insert into testable (call storedProc(parameter))
This would include the creation (inside the storedProc)
*and consumption of the cursor* (the INSERT portion)
and iNav should be able to tell how long it took to run.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.