|
>> Now. What is included in my *PGM? I was thinking the only thing that would be included in the *PGM object would be the source file, BSTORDADD and that the modules included in the 2 service programs would be loaded at run time. You are correct except you should forget the word "module" in this context. The _service programs_ are loaded (if not already present in the job) and linked to the program at run-time. It is _procedures_ that are called - Modules are just a convenient container that hold the procedures between the time that the compiler creates them and when they are subsequently bound into a program or service program. It is for this reason that modules can be deleted once they are bound in to the (service) program. This of course is exactly what CRTBNDRPG does - it creates the module - creates the program from it - then deletes the module. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.