On 04/03/2008, at 5:19 AM, Jeff Young wrote:

I have a function that will perform DB I/O and possible require a display window.
This function will accept 1 parameter and return 1 parameter.
This function will be called from a number of programs.

Should I -
A. Make it a service program

Yes.

B. Make it a bound modue

No. Except for some security related instances it is rarely a good idea to use the same module in multiple executables.

C. Make it a stand alone program called by others as needed.


Possibly. You can always create C to wrapper A should that prove necessary.


Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




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-2019 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].