Re: File keyed on a date field: the read doesn't actually get anything! What am I doing wrong?
Barbara Morris <[email protected]>
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Organization | IBM |
| Message-ID | <[email protected]> |
On 2026-01-07 5:31 p.m., James H. H. Lampert via RPG400-L wrote: > On 1/7/26 2:04 PM, Raul Alberto Jager Weiler wrote: >> Do you use the field from the file? >> RPG does not load the fields if there are not used. > > THAT WAS IT!!!! > If you use CTL-OPT / H-spec DEBUG(*INPUT), the compiler will load the fields even if they are not used. https://www.ibm.com/docs/en/i/7.6.0?topic=expressions-unexpected-results-when-evaluating-variables -- Barbara -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.