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



Marvin,

We have one of our applications that uses an overlay that we do not use the override print file to control. In this case, we have a record (OLAYREC) in the print file that controls the overlay. we use the OVERLAY keyword as follows: OVERLAY(*LIBL/&CHKOVERLAY 0 0). On the next line in the print file specs, we have this line defining the P field. CHKOVERLAY 8A P.

In our case, we have multiple overlays that may be used. In the program, we populate CHKOVERLAY field with the name of the OVERLAY. While we do not do this, we could easily condition the WRITE OLAYREC statement to process only when certain conditions exist.

Nick Mart


----- Original Message ----- From: "Marvin Radding" <marvin.radding@xxxxxxxxxxxxxxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, February 04, 2009 4:01 PM
Subject: Question about overlay


All,

I am programming a letter that goes out to customers and agents. The print files uses an overlay to set up the logo and address of the company. For the agents we need to supply an agent address page that is blank except for the agent address. I have not been able to find anything that talks about prevent an overlay from printing once you have set the print file to use it. Does anyone know of a way to print a page without using the overlay that was set to be used in an override print file?

Thanks to one and all for all the help over the years. I have learned from their answers to my questions as well as the answers to others' question.

Marvin

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.