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



By default, DDL-defined tables use the table name as the record name, which RPG doesn't like. The work-around now is the RENAME keyword on your F-spec.

iACS New Table has a box for "Record format name". You can specify the record name there in the future to avoid this issue.




-----Original Message-----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Tuesday, February 05, 2019 8:39 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Subject: SQLRPGLE Format name for records

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.




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.