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



Has the field that it defined like changed since the last compile? I think
if it was the same size as the in line code definition the system would
have ignored it. I've seen copied rpg400 code define a variable multiple
times in line. The definition the same each time.




From:
Robert Rogerson <rogersonra@xxxxxxxxx>
To:
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>,
Date:
04/02/2013 01:08 PM
Subject:
RNF3316: The item has already been defined on a Definition,Specification;
specification is ignored.
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx



Hi All,

Today I attempted to recompile an existing, unmodified program which
has
not been changed in over a year. It failed to compile with an RNF3316
error on two fields.

The two fields are brought into the program from a file in the f-specs.
Later in the c-specs the fields are once again dined using *LIKE
DEFINE.

We are on V7R1.

Does anyone know if it was it allowed to define a field twice (once in
the
f-specs and later in the c-specs using *LIKE DEFINE) in earlier
versions
of the os?

The issue isn't how to fix it but rather how it ever successfully
compiled.

Thanks,

Rob

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.