|
Patrick wrote: > D ds > DPdLb Like(PdLb01) Dim(3) > DPdLb01 Overlay(PdLb) > DPdLb02 Overlay(PdLb:8) > DPdLb03 Overlay(PdLb:15) > > > 932=I S 60 66 0WK1AVL > 933=I S 67 73 0PDLB02 > ======> aaaaaaaaaaaaaa > *RNF4138 30 a 000016 Externally-Described Field used as array name. > Definition > specification is ignored. > 934=I S 74 80 0WK2SHP > > > Why? > > I think I understand that it is a memory address thing, but I'd like an > clear explanation. Fields in externally described records can't be array names. In the D-Specs, you're defining PDLB02 as an array. Since there's no DIM keyword on the D-Spec, why is PDLB02 getting defined as an array? Because it overlays an array. Check the cross-reference listing and you'll see that PDLB02 is defined as a 3 element array. Cheers! Hans Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com
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.