You need to either define a different record format name in your SQL or
rename your record format in the program.

Your record format name is the same as the filename.

On Tue, Feb 5, 2019, 6:39 PM Booth Martin <booth@xxxxxxxxxxxx wrote:

I created a file using SQL. Looks right to me. I then compiled a
program with that file in an F-spec and got this:

41 dcl-f CUSPI usage(*update: *output) usropn;
======> aaaaa
======> bbbbb
*RNF2121 30 a 004100 Record format CUSPI in file CUSPI already
defined; record
format is ignored.
*RNF2109 40 b 004100 All Record Formats for externally-described
file CUSPI
ignored or dropped due to error; file ignored.

This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related

Help support by shopping at with our affiliate

This thread ...


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

This mailing list archive is Copyright 1997-2019 by 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].