|
I am not understanding the design choice. Would something like this work
just as well for you?
D GL_Account Like(##AlGl) Dim(10)
D GL_Amount Like(##Bal) Dim(10)
D* ?do you really care? Alt(GL_Account)
D GL_Distribution...
D Ds
D GL_Account(1)
D GL_Amount(1)
D GL_Account(2)
D GL_Amount(2)
|||
||... and so on.
|
On 7/9/2014 10:11 AM, Jeff Young wrote:
All,
I have a DS that contains 20 fields:
GL_Number_01 10A
GL_Account_01 10A
After defining each of the 10 occurrences as sub fields, I then define the
arrays using the following code:
GL_Account Overlay(GL_DS) Dim(10)
GL_Amount Dim(10) Alt(GL_Account)
I am receiving the following error:
RNF3442: The parameter GL_ACCOUNT for keyword ALT is not valid; keyword is
ignored.
What am I missing?
The actual code is at: http://code.midrange.com/012d0ccc4e.htm
<http://code.midrange.com/012d0ccc4e.html>
Jeff Young
Sr. Programmer Analyst
--
Booth Martin
www.martinvt.com
(802)461-5349
Skype: booth.martin
Too much of a good thing is WONDERFUL. -- Mae West
--
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-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.