Large Subprocedure Return Values: V7 Brings Relief
November 17, 2010 Jon Paris
In Subprocedure Return Values–Food for Thought, I discussed the performance implications of returning large variables from subprocedures. With IBM i 7.1, IBM has added new RPG compiler features that improve performance when passing large parameters. The conclusion of my previous tip was that you should use a conventional parameter–instead of returning a value–when large values such as result sets were involved. The downside of such a change of course is that you lose the ability to know exactly which field was changed by a procedure call. Seeing: GetCustomers( state: customerList ); in the code just doesn’t make what is |