Hi Tim,

Quite frankly, I think a SELECT group is a better way to do it than
calling the subprocedure by name.

However, I just did an article on this in the Club Tech iSeries
Programming Tips newsletter over at iSeriesNetwork.com.  That demonstrates
both ways of calling variable-named subprocedures.

Here's a link:
http://www.iseriesnetwork.com/resources/clubtech/index.cfm?fuseaction=ShowNewsletterItem&ID=17586&PubID=8&IssueDate=November%206%2C%202003

(Hmmm... it still names Chuck Lundgren as the author, I'm going to have to
get that fixed)

If you can't get the info from that site, let me know, I'll just e-mail it
to you.


On Fri, 7 Nov 2003, Tim Kredlo wrote:
>
> Since these subroutines are also included in other 'mid' type
> programs, I am hoping to replace them with external subprocedures
> (call them 'BotPgm's).
>
> I was hoping for a way to reduce coding lines and make this
> procedure more 'reusable', if not generic, with something
> along the following lines.
>

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