× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Your only solution that comes to mind is for you to do your "printing" to a new file. Each program writes formatted print lines to a record in the new file as the program generates them, then at last record time a new program writes the report based upon the info in the records in the new file. You'll want to do your own record counting to get overflows correct. You may want to have a field in the record that triggers overflow printing. I would choose to have the print field be the same length as the desired printer output, typically 132 columns. That way the program is a straight read from beginning to end.


Scott Johnson wrote:
Not sure if this is possible or not. I want to have multiple programs in one job stream print to the same spool file. Each program has its own prtf. Each prtf has different records/layouts. More or less, I have a report program that calls separate programs for the first page(s) and last page(s) of the needed report. The report program itself provides the detail for the middle pages. I am pretty sure I have to use ovrprtf, but I am unsure of where to place them and with what parms.

PgmA calls PgmB.
    PgmB uses PrtfB and prints to spool file.
    Control returns to PgmA.
PgmA uses PrtfA and prints to spool file.
PgmA calls PgmC.
    PgmC uses PrtfC and prints to spool file.
    Control returns to PgmA.
PgmA ends.


-- Thanks
      Scott


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.