On 2012/10/9 2:37 PM, Rpglist wrote:
Ok so Barbara what's the actual difference between the two?
If you mean between *UNREF and *NOUNREF, then say you define a field on
a D, I or C spec, and it gets RNF7031 (Name not referenced).
- With OPTION(*UNREF), it gets generated into the module.
- With OPTION(*NOUNREF), it doesn't get generated into the module.
Some exceptions for *NOUNREF:
- a data structure gets generated into the module if it or any of its
subfields are referenced
- fields on input specs get generated into the module if the H spec
DEBUG keyword indicates that input-specs are being debugged
If you mean between RPG/400 and ILE RPG, then RPG/400 has the
OPTION(*NOUNREF) behaviour, and ILE RPG gives you the option to have
either *UNREF or *NOUNREF.
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.