|
Hi
i'm tryng to use data structure, to store informations about
WRITE/UPDATE/CHAIN both for Data Base files and Display files; example
for DSPF i code Data structure for every record format like this:
D S01Ds Ds LikeRec(S01:*All) Inz Sfl
D C01Ds Ds LikeRec(C01:*All) Inz SflCtl
then i when i write or update the records S01 or C01 i use :
write S01 S01Ds;
or
ExFmt C01 C01Ds;
but with this tecnique, i have the problem that i have to remember to
prefix all my file's fields as, if I use "customer_code" instead of
"S01Ds.customer_code" the program is generated with success, but the
data is not (in this example) displayed in the screen. Is there any
tecnique to avoid this or i'm wrong in something ? do you use this
tecnique ?
Thanks in advance for you suggestion.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.