• Subject: Printer file problem
  • From: Shivasubramanian A <SHIVAS@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 4 Jan 1999 00:35:42 -0500


I have got a problem with printer file. The problem started when I tried
to print a single report with two program.

Consider a situation where I need to print Header, 2 messages and detail

PGM1 prints the Header and Detail records and PGM2 (Utility program)
will print the messages.

A temporary printer file is declared in PGM2, which is overridden to the
original printer file PRTF1 that is used by PGM1, before being opened in

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

Seeking help on this issue.

Thanx in advance.
| 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

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 on our policy page. If you have questions about this, please contact [javascript protected email address].