|
Tim: > 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? Off the top of my head, I think you'd have to -create a duplicate object of the print file. (You could call it "FAXPRTF" or something.) OR -do an OVRPRTF from your original print file to FAXPRTF. In your RPG program, you'd -code a seperate F-spec for the fax print file -rename all the record formats in the fax print file -for each EXCPT, you duplicate the EXCPT, and use the name of the renamed fax record format in the EXCPT -in the O-specs, create duplicate printer output specs for all the EXCPT-s you've duplicated in your code I know it seems a long way around, and I'm sure there's a better way to do it, but I dunno what it is off the top of my head programatically. Alternately, there may be a way of duplicating the completed spool file INTO the fax output queue. It'd be so tasty if OS/400 had a CRTDUPSPLF command. I seem to recall a similar program being written years ago, and it being published in News 3X/400. HTH -Doc +--- | 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 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.