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



Did you run an OPNQRYF on this file and not close the File Id? I had this same error once and I found that there was a CL on the system that performed an OPNQRYF on this file. It selected different fields as keys then what were on the PF. The CL did not perform a CLOF so when I ran the CL the file stayed open. The compiler was picking up the keys created by the OPNQRYF and not what were on the PF causing a mismatch.


----Original Message Follows---- From: Michael Jacobsen <MJacobsen@xxxxxxxxxxxxxxxx> Reply-To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To: "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> Subject: %KDS Compile Problem Date: Thu, 21 Apr 2005 10:16:20 -0500

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.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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.