Use the RENAME keyword on the DCL-F to rename a format within the program. No need to touch the files at all.

Brian.

On 06/11/2025 15:00, myibmi via RPG400-L wrote:
In this case, yes. I'm using this method very often.

You can't use the same record name in two different files.

-----Ursprüngliche Nachricht-----
Von: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] Im Auftrag von
Greg Wilburn
Gesendet: Donnerstag, 6. November 2025 15:47
An: RPG programming on IBM i
Betreff: RE: [EXTERNAL] AW: Two Externally Defined Printer Files in same pgm

Not following...

I can't change the printer files - they are used by other programs.

Do I need to rename each record format in one of the files?


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