× 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.



I had the exact problem on my system, and I have had several experts on this 
board review my code (the first time it was a simple DS definition error). I 
stopped using %KDS, and use ad-hoc keylists exclusively, which ought to be 
the technique everybody uses, along with using DSs to READ to and WRITE from 
-- but I oughtn't preach ;-)

The workaround is to always CHAIN, READE, SETLL, etc using the RECORD FORMAT 
NAME, instead of the file name. Don't ask me why, but when you use the file 
name, strange things go bump in the night at times. 

On 4/21/05, Michael Jacobsen <MJacobsen@xxxxxxxxxxxxxxxx> wrote:
> 
> I am having a compilation problem. I have code that I know for a fact
> will compile on a different system, but I am unable to compile it on our
> production system. The error I am getting is this:
> 
> *RNF7071 30 1 Number of KFLDs in KLIST is greater than number of key
> fields in file.
> 
> Is there a PTF that addresses this? I am on V5R2. I have never worked
> with PTF's before, but I am trying to help find out if that is part of the
> problem.
> 
> Thanks! (And I apologize if this has been asked before, but I couldn't
> find any answers from IBM's site, or in the archives.)
> 
> Mike
> --
> This is the RPG programming on the AS400 / 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.
> 
> 


-- 
"Enter any 11-digit prime number to continue..."
"In Hebrew SQL, how do you use right() and left()?..." - Random Thought

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.