|
Dan
If you want to retrieve the statement used, I suggest turning on the
database monitor when the flag is turned on. There are several record
types in the resulting file - it can be run against only the job in
question - it gives you all kinds of things you don't need, too, but
will get you the statements used. You can even use the resulting file
as input to Visual Explain in iSeries Navigator, which can extract
the statements used for you - saves you some trouble. If you want to
do that work yourself, there are some SELECT statements you should
use, documented in
http://www-912.ibm.com/s_dir/slkbase.nsf/a9f6fda1102483c486256ffd007816dd/280c2652737e1184862567b60069dd8d?OpenDocument
if that link does not all get in to your browser, copy and paste it's
parts. If you are asked to sign in to get it, let me know - I'll get
the body of the article.
And there is a redpiece with more info at
http://www.redbooks.ibm.com/redpapers/pdfs/redp0502.pdf
HTH
Vern
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.