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



One of our production program is getting a CPF5009 error. This is a RPG
program and the statement that is causing the error is a WRITE
statement. I'm not understanding why this CPF is showing a non zero
record number for a write operation. The file does have "REUSEDLT" of
*yes. Could this be the cause?

thanks



Additional Message Information



Message ID . . . . . . : CPF5009 Severity . . . . . . . : 10

Message type . . . . . : Diagnostic

Date sent . . . . . . : 01/24/08 Time sent . . . . . . :
09:53:49


Message . . . . : Duplicate record key in member ORDET.

Cause . . . . . : The output or update operation to member number 1
record
number 1377 format ORDETR, for member ORDET file ORDET in library
APLUS2FMC,
failed. Member number 1 record number 1376 format ORDETR has the same
record
key as member number 1 record number 1377 format ORDETR. If the
record
number is zero, the duplicate record key occurred on an output
operation.
Recovery . . . : Change either record key so that the keys are
unique.
Then try your request again.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.