Does the program use CALL to call any other programs? You may find that converting those to a prototyped call or a module in a service program can help too. Using CALLs, the system does incur overhead on each call, and when processing this many records may add up. I made that change once, and it did reduce the time.
This thread ...
RE: RPGIV performance writing large number of records, (continued)
This mailing list archive is Copyright 1997-2020 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