Another thing to consider is are you sure you want to code execution of
the subprocedure to be dependent on the internals of the subprocedure (or
function)? Let me explain, let's pretend your subprocedure is written in
RPGLE. And you are doing your I/O with chain's instead of sql. So your
goal is to avoid the overhead of opening/closing the file on each
execution of the function. Admirable. However, if the subprocedure is
fundamentally changed do you want to have to change all the programs that
call that function? Again, for example, you rewrite it by using sql
instead of chains. Or you rewrite it by consuming a webservice that
provides the result or ... Now, all previous executions were jumping
through hoops to ensure that files were closed upon completion by calling
it with a special parm or whatever. How do you handle that?


Rob Berendt

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.