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



Could you have 4 records in your PRTF (besides the headers and footers)?  
Say, PAGE1, PAGE2, PAGE3, and PAGE4? 

At print time you could then write each record, one after the other.
 
---------------------------------
Booth Martin
http://www.martinvt.com
---------------------------------
-------Original Message-------
 
From: RPG programming on the AS400 / iSeries
Date: 03/09/04 14:10:24
To: rpg400-l@xxxxxxxxxxxx
Subject: (no subject)
 
Hello,
 
I am currently writing a program in RPG 400 .. using Qsysprt and Overlays ..
 
Here is the problem ...
 
a file is read primary in the program ... for each record a purchase order
is printed ... each purchase order is 4 different pages ... initially I was
going to do 4 different out files (qsysprt1,qsysprt2,etc) and in the CL have
an ovrprtf to each one using the appropriate overlay created with Page Maker
... but this is not well liked by our purchasing department ... that would
mean the pages were printed separately and would have to be re-sorted so ...
they want all the pages for each purchase order to be printed one after
another ... I cannot figure out how to accomplish this ... using multiple
overlays ... I tried to open and close qsysprt and ovrprtf in the RPG ...
but unless I close it first .. the ovrprtf doesn't work ... so I am stuck ..
 any help would be appreciated ...
 
 
Beth Claes
Senior Computer Programmer Analyst
Montgomery County Data Processing
bclaes@xxxxxxxxxxxxxxxxxxx
(518) 853-8199
 
 
 
 
 

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.