|
Scott Klement wrote: > > On Mon, 24 Mar 2003, M. Lazarus wrote: > > > > How does the compiler know that you mean the current program vs. some > > other external program? What if there are two EXTPGM's that are not > > "found"? > > > > My guess: If the PR matches a PI, and that PI is before any P-specs, > it considers that PR to be for the "*ENTRY PLIST". > > At least, that's the way I'd do it. That's indeed how it works. When the compiler finds a PI before any P specs, it looks for a PR that has the same RPG name (you have to code the PR for the main PI before you code the PI).
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.