|
Shivasubramanian A wrote: > Hi > > I have got a problem with printer file. The problem started when I > tried > to print a single report with two program. > > <snip> > > The result was 2 spool files were generated. First spool file was > generated by PGM1 and the second one by PGM2. The first had only > Headed > and Detail and the second with the Messages only. > > But, my requirement is Header, Message and Detail should be in the > same > spool file (PRTF1). > > Override the printer file for PGM1 with SHARE(*YES) before you open the file, then override the printer file for PGM2 to use this same shared printer file. Dave Murvin DRM Enterprises, Inc, davem@drme.com Issaquah, WA USA +--- | 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 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.