|
Thomas, You can read/write/update files in service programs. Service programs are nothing more than a collection of subprocedures and fields that are isolated in an independent object for greater access. Simply use NOMAIN as a keyword on the Header specification in the source members you use to create the service program. Do not use mainline-Calcs in the service program source members. Other than that, it is effectively similar to writing RPGIV application programs. The only difference is you've moved the subprocedure out to a secondary source member and compiled them separately. -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx [mailto:rpg400-l-bounces+cozzi=rpgiv.com@xxxxxxxxxxxx] On Behalf Of thomas Sent: Friday, January 27, 2006 4:47 PM To: rpg400-l@xxxxxxxxxxxx Subject: Service programs does anyone have a simple service program I could look at to start to understand them. A list of rules of what has to happen would help. Have figured out that you cannot read and write files in a SERVICE program. Or at least I think that is right. Thomas Burrows _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web!
As an Amazon Associate we earn from qualifying purchases.
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.