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


  • Subject: Re: PRTF query?
  • From: Denis Robitaille <drobitaille@xxxxxxxxxxxx>
  • Date: Fri, 24 Oct 1997 10:45:45 -0400
  • Organization: Cascades inc.

Tim Truax wrote:
> 
> Hi all,
> I searched my Softcopy books and was unable to find this answer,  any
> input is appreciated.
> ============ question =================
> I have created a very extensive PRTF using RLU to generate a report or
> fax or both depending on the selections the user makes on the screen.
> How can I use this one PRTF within the ONE program to generate a fax
> onto our fax printer server and also a report onto the users outq. My
> main question is how do I have the one PRTF output to 2 different outq's
> in the same program?
> PS) Hope I'm not becoming a pain!
> --
> ''''''''''''''''''''
> :-Tim & Dana Truax-:
> ....................
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
> | To unsubscribe from this list send email to MAJORDOMO@midrange.com
> |    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
> umidr

- I would delare 2 PRTF in the RPG program.
- In the calling CLP, i would use the instruction OVRPRTF to use the
same printer file twice and to direct the 2 outputs to the correct outq.
- Doing so, you would have to renamed the record format of the second
printer file in the RPG program(RPG dont allow duplicate record format
name)
- You must remember to do an OVRPRTF of the second printer file before
compiling the RPG (so the copmpiler can find a PRTF object)
- In the RPG you would issu a WRITE command to either or both PRTF
depending on a parameter passed to the program.

I hope this help, if it is not clear enought, i can go in more detail
-- 
Denis Robitaille
Cascades Inc.
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.