|
Do a STRDBG (no program name), and then run your code. It will give a lot of helpful information. > -------- Original Message -------- > Subject: long running SQL RPG pgm > From: Jeff Young <cooljeff913@xxxxxxxxx> > Date: Thu, October 20, 2005 12:08 pm > To: midrange-l@xxxxxxxxxxxx, rpg400-l@xxxxxxxxxxxx > > I have an SQLRPGLE program that is taking a long time to run. > The program is using SQL in a number of places to get data from different > files. > Is there a tool available that can tell me where the program is spending most > of its time, and if in SQL, what access plan it is using? > > Thanks, > > > Jeff Young > Sr. Programmer Analyst > Dynax Solutions, Inc. > A wholly owned subsidiary of enherent Corp. > IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions > V5R2 > IBM Certified Specialist- e(logo) server i5Series Technical Solutions > Designer V5R3 > IBM Certified Specialist- e(logo)server i5Series Technical Solutions > Implementer V5R3 > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.