• Subject: RE: RPG how to use the same printer file twice?
  • From: "Goodbar, Loyd (AFS-Water Valley)" <LGoodbar@xxxxxxxxxxxxxx>
  • Date: Wed, 6 Oct 1999 12:02:12 -0400

This is what I ended up doing - overriding the printer file at runtime and
compile time, and renaming the record formats. With a little logic to
determine which file to use, works great!


> -----Original Message-----
> From: Alan Campin [SMTP:Alan.Campin@CaseLogic.com]
> Sent: Tuesday, 05 October, 1999 7:39 PM
> To:   'MIDRANGE-L@midrange.com'
> Subject:      RE: RPG how to use the same printer file twice?
> Chris wrote:
> >>But you must have both objects to compile so the compiler can read
> >>the record formats.
> The solution to this is to issue an override from PACK to PICK before you
> compile and program will compile. Only trick is that you are going to end
> up
> with the same record format name twice so you are going to have to rename
> the record format. This is an example of how I did this with two print
> files.
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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

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