× 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.



Rob,

I'm not quite sure what you're getting at, but if I read your question
right, I believe that it doesn't matter if your file field is unreferenced.
the array IS referenced and it contains the data from the same memory
positions as the data from the input file.  does this make sense?   the
minute you "reference" one of the fields, the value will be there when
needed.

said in another way, All the data from the input file IS in memory and is
made available to the program - it just hasn't been mapped to that
particular field name (yet).    This of course is all conjecture on my
part.   but I do know that the code SHOULD work.

Rick

---original message---
Rob said:
I have this simple RPGLE program:
     fARRAYF    IF   E           K DISK

     d MyVar1          s                   like(keyfld)
     d MyVar2          s                   like(Ary1)
     d MyVar3          s                   like(Ary2)
     d MyVar4          s                   like(Ary3)
<snip, snip>



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.