|
<snip> 2. After reading up some on Sub-Procedures vs. Sub-Routines, convert a subroutine to an internal subprocedure. 3. Move your Sub-Procedure to it's own source member and compile it with option 15 in SEU. Also compile your original source member with 15. This will give you two *MODULE objects, a procedure module and a main. Use the CRTPGM command to create a program that conatins both *MODULE objects. <snip> When you do your module, you'll need to include Hnomain in it or you'll get the following error when you compile: *RNF7023 40 1 The Compiler cannot determine how the program can end. Matt
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.