×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Steve Landess wrote:
Thus the thread topic "Feature or Bug". Barbara - can you shed some light
on this?
Yep, I can. When it generates the O specs for output-capable files, the
RPG compiler has an optimization where it only generates the O specs for
record formats that have been used in the program. When it finds a P
spec, it doesn't know yet which record formats might be used in the
procedures, so it generates the O specs for all possible output records.
Not a bug; not really a feature either. It's an offshoot of the fact
that the RPG compiler is a single-pass compiler. If it was a
double-pass compiler, it would know what was going to happen in the
subprocedures before it got around to generating the O specs.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.