× 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.



I assume these are batch programs?

Question: Are the files being written to journaled? If so, are you using
commitment control? If not, that is a _HUGE_ hit. Unless you have the HA
Journal Performance, 5722-ss1 option 42, installed and being used which
allows for journal caching w/o commitment control. It was previously a
PPRQ.
Here's some good info: http://www.quser.org/Docs/JournalCaching.pdf

Here's some old but still valid info, "Optimizing Batch Performance" by
Rick Turner
http://www-01.ibm.com/support/docview.wss?uid=nas1e907e76673a614dd86256a290054f546

Here's the key take away, unless your CPU usage is at 100% during the
program run, your program is waiting (probably for disk I/O)...remove as
much wait as you can and if you're still not at 100%, break the job into as
many concurrent processes as needed to drive the CPU usage to 100%.

HTH,
Charles




On Thu, Jan 3, 2013 at 9:43 AM, RPGLIST <rpglist@xxxxxxxxxxx> wrote:

I'm looking for any and all suggestions on possible ways to speed up some
programs.

The typical ones that come to mind are:

1. avoiding open and closes on files
2. Not setting LR when calling a program or procedure multiple times
3. using Data structures for block reads and writes

Any other suggestions?

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.