Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.
I will add this. I use page segments and overlays all the time. I have found. When you copy a spool file that has a overlay and restore it to another machine. You must have the overlay in the same library on the new machine or else when you print the form. You will not get the overlay. If you move it to a new output queue on the same machine. You must still have the library that had the original overlay in it. Available when you print it. I hope this helps.
Globe user | May 12 2008 5:08PM GMT
Sloopy,
We hard-code the overlay name in the printer file DDS - one overlay to a printer file format. When we need the overlay, we just write the format to the printer file.
We actually have more than one overlay in a spool file, so we don’t use the front and back overlays.
TSCHMITZ | May 13 2008 6:52AM GMT
Hi Alf,
i have a piece of code (RPGILE SRVPGM) that duplicates spools using API’s. Only requirements, due the actual release of API’s, you must have an OS realease near mine (V5R4).
The goal of this program is to duplicate a spool file an patch some contents (I use it to insert COPY 1 to COPY 3) on the copied spool.
I assume it’s ok for overlay copy, but it should be tested.
If you are interested, tell me (i need your email). This is a bit sophisticated but i think understandable.
Thierry.