× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.