• Subject: RE: Printer file problem
  • From: Joe Giusto <JGiusto@xxxxxxxxxxxx>
  • Date: Tue, 5 Jan 1999 16:52:32 -0500

OVRPRTF yourprinterfile SHARE(*YES)


Joe Giusto II
Patuxent Publishing Company
 <mailto:jgiusto@patuxent.com> mailto:JGiusto@patuxent.com
http://www.lifegoeson.com <http://lifegoeson.com> 


        -----Original Message-----
        From:   Shivasubramanian A [SMTP:SHIVAS@india.mastech.com]
        Sent:   Monday, January 04, 1999 12:36 AM
        To:     midrange-l@midrange.com
        Subject:        Printer file problem

        Hi

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

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

        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.
        Shiva.
        +---
        | 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 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].