|
Hi Booth
Without a lot more information, I suggest that you try using the
QUALIFIED keyword - then the subfields - what you called "...field names
in the data structures..." - the subfields are not already defined.
HTH
Vern
On 12/29/2018 1:11 AM, Booth Martin wrote:
I have confused myself. Again.
Learning about service programs, prototypes, procedures and stumbling.
I I have a service program with which I wish to offer several
procedures relating to the various fields in a specific file.
Each procedure will have specific data structures dealing with the
fields related to that procedure. I would like to use the same data
structure name in several procedures although the fields will be
different in each data structure. It's not letting me do that. Then,
when I changed the names of the data structures it tells me that the
field names in the data structures are already defined.
So... how do I make data structures and field names that are local to
the procedure in which they reside? Or is that a you'll-be-sorry wish?
--
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: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.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.