ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

OVRPRTF and or overlays

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OVRPRTF and or overlays

    I know I have done this before but....
    Anyway. I have two ovrprtf and one RPG program. I want one spool file and not two.
    Code is below. Also would like to see if anyone could tell me how to get more than one page overlay. This is where this started..
    Any Ideas????
    Thanks in advance.

    OVRPRTF FILE(APPCESP1) FRONTOVL(*libl/APPCES1)
    OVRPRTF FILE(APPCESP2) FRONTOVL(*libl/APPCES2)
    CALL PGM(APPCESR)

    rpg.........
    FAPPCESP1 O E PRINTER
    F INFDS(PINFO1)
    FAPPCESP2 O E PRINTER
    F INFDS(PINFO2)

    C WRITE HED1
    C WRITE HED2

  • #2
    Re: OVRPRTF and or overlays

    As per my knowledge, one spool each is created for a every printer file opened/closed.

    Comment


    • #3
      Re: OVRPRTF and or overlays

      Yes, you will get a separate spooled file for each F-spec in your program.

      If you want a different overlay on a different page, use DDS and define the overlay keyword differently for different pages.

      Comment

      Working...
      X