× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



you may want to have a look at another of Carten's API code examples:
http://iprodeveloper.com/rpg-programming/apis-example-hidden-job-sql-information-exposed-retrieve-job-information-api

APIs by Example: Hidden Job SQL Information Exposed by Retrieve Job Information API


specifically using QUSRJOBI jobi0900 format


http://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/apis/qusrjobi.htm

--
Bryan


Jeff Young wrote on 11/17/2016 11:58 AM:
If I recall correctly from a long time ago (and far far away), there was a
method to show the last sql statement a running job executed.
Does anyone recall how to do this?

Thanks.

BTW, I am attempting to troubleshoot an SQL RPGLE program that is taking an
unusually long time to return results. The program is dynamically
preparing a cursor based on input from a user program. Is there any easy
way to analyze that statement to determine if there is a better way to
optimize it?

Jeff Young
Sr. Programmer Analyst


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.