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



Instead of defining 2 print files in the program
Can you just define 1 and the use ovrprtf before opening the file

----- Original Message -----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Sunday, August 23, 2015 05:21 PM
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
Subject: Identical PRTFs

I have a PRTF I wish to compile twice with different compiled names. I
wish to give the user a choice of 66 lines/page and the other choice of
88 lines per page. Then, with USROPN I intended to open the user's choice.

The compiler is getting all huffy about duplicate format names. I can
rename them but it complicates the code. Is there any other choice that
comes to mind?

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