Its best practice to make files usropn in procedures.


Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777



James Perkins <jrperkinsjr@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
11/13/2009 02:22 PM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Re: Service Program Overhead






I'm not opening or closing tables at all, I'm just letting the system do
that for me. I've burned by that before.

Interesting program, I'll have to look into it a bit.

Thanks!
--
James R. Perkins
http://twitter.com/the_jamezp


On Fri, Nov 13, 2009 at 10:56, Bryce Martin <BMartin@xxxxxxxxxxxx> wrote:

Are you opening the file on each invocation of the subprocedures? Are
they usropn?

You can open them once and leave them open and have them automagically
closed at the end if you do something like this....
Thanks to Scott K on this...
<snipped />

Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777


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.