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



Best solution, convert to externally defined printer files and use the
OVERLAY keyword at the DDS record level.

Otherwise, your only option will be as you've already found.  Opening and
closing qsysprt with RPG issuing the appropriate OVRPRTF before opening it
for the next page.  Performance would be negatively impacted, though it may
or may not be noticeable.  But at least the pages would print in order for
your users.

Note: there are various free and not-free utilities out there that convert
o-specs to DDS printer files.  iSeries Network has one I've used before.

HTH,
Charles


> -----Original Message-----
> From: 
> Sent: None
> 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 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.