|
[...] Note also that for RUNCMD the compiler knows
the name is not defined but doesn't issue RNF5410 even though a
prototype does not exist.
However I can see some logic to the current behaviour. If any of the
parameters are undefined then the call is undefined and therefore the
associated prototype is also undefined.
Should we care? I've always ignored this message and just treated it
as an expected partner of the RNF7503 error. Just be grateful the RPG
compiler doesn't get as completely hosed as the C compiler when it
encounters syntax errors. At least it can regroup and recover to give
sensible error messages for the remaining code whereas the C compiler
frequently just disappears down the sewer and spews out misleading and
erroneous messages for so-called 'problems' after the first error.
Regards,
Simon Coulter.
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.