|
I've seen a few instances of where the actual code for a prototype (or more than one prototype) is found at the bottom of an RPG source member.
I've often read and learned to code almost all of my prototypes to be accessed via /copy members where the actual code is either a separate module or part of a service program.
The only reason I see for doing this would be to be able to use them like subroutines that could accept parameters where the process is performed only within a single program. But then wouldn't that still lend itself to a /copy book? Or is this just a matter of personal preference that is arbitrary to the application?
Or are there other reasons for coding prototypes at the bottom of an RPG program that I'm unaware of?
Any links to good articles explaining this approach would be appreciated.
Thanks!
Regards, Jerry
Gerald Kern - MIS Project Leader
Lotus Notes/Domino Administrator
IBM Certified RPG IV Developer
The Toledo Clinic, Inc.
4235 Secor Road
Toledo, OH 43623-4299
Phone 419-479-5535
gkern@xxxxxxxxxxxxxxxx
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please inform the sender by reply e-mail and destroy this and all copies of this message.
As an Amazon Associate we earn from qualifying purchases.
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.