|
That's right. There is no start up routine nor is there an termination routine in *SRVPGM's that allow a user-written routine to be called. We can only hope that IBM adds something like that in a timeframe where people like us will still be programming for this platform. -Bob -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Booth Martin Sent: Wednesday, January 19, 2005 6:48 PM To: RPG programming on the AS400 / iSeries Subject: Procedures and end-of-job Please bear with me. I am still having troubles grasping basic elements of sub procedures, procedures, and prototypes. I have an action that is going on as a process is being run. I believe it is called a module of a service program. When the activation group closes I want to do some final calculations in my module. Since it is NOMAIN there is no way I can see to signal that the job is ending. Have I displayed both the problem and my ignorance? --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 1/16/2005 -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.