|
When would I want to ( and / or how could I ) have a module call a subprocedure before the main procedure, when a main procedure exists in that module ? I found the following while reading through the RPG reference. Thx - Dave K. ILE RPG for AS/400 Reference Chapter 6. Procedures and subprocedures Subprocedure Definition Subprocedure Calculations "Note also that if the subprocedure is the first procedure to be called in a module, the *INZSR of the main procedure (if present) will not be run, although other initialization of global data will be done. The *INZSR of the main procedure will be run when the main procedure is called."
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.