• Subject: Re:PRTF query?
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Fri, 24 Oct 1997 11:03:43 -0400

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?

One way is to have your CL program use SNDNETSPLF to send you 
another copy:

OVRPRTF MYPRTF HOLD(*YES)
CALL RPGPGM
SNDNETSPLF MYPRTF ((MYUSRID MYSYSTEM))
RLSSPLF MYPRTF

Send it to a user ID that has the OUTQ you want the second copy 
go to...

Hope this helps...
Buck Calabro
Commsoft, Rensselaer, NY

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


This thread ...


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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].