Amanda,
Not sure I can be much help, but I guess you are working on
an i at something prior to V7.1.
At V7.1, the RPGLE manual shows:
Named or Un-named data structure length Maximum of 16773104
With your dim(999), the total of those
elements must fit within the stated limit,
which I take to be 65535.
HTH: Others on this list will be able to suggest a solution.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Amanda Paul
Sent: Thursday, July 05, 2012 7:07 AM
To: RPG programming on the IBM i / System i
Subject: RNF7301
Hello
I get
*RNF7301 30 3003213+ Position (1-24065910) of subfield PARTICIPANT in data
structure PARTICIPAN... is greater than length of data
structure (65535).
can someone explain where Iam wrong?
d PARTICIPANTS_Template... d ds qualified based(dummy_ptr) d PARTICIPANT likeds(PARTICIPANT_Template) dim(999) d d PARTICIPANT_Template...
d ds qualified based(dummy_ptr) d name likeds(name_Template) d gender 1a d dateofbirth 8p 0 d residentsince 4p 0 d maritalstatus 1a d relationship 1a d fulltimeoccupation... d 2a d parttimeoccupation... d 2a d transactiontype... d 2a d specialrestrictionsimposed... d likeds(specialrestrictionssimposed_Template)
d criminals likeds(criminals_Template)
--
This is the RPG programming on the IBM i / System i (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.