OVERLAY |
![]() ![]() ![]() |
The OVERLAY option specifies a catalogued subroutine to emit a graphical page overlay.
Format
OVERLAY subr.name
where
The OVERLAY option allows a report to include a graphical overlay to draw a form on each page of a report directed to a printer or a file. This is equivalent to use of the OVERLAY option of the SETPTR command except that it applies only to the one report.
The subr.name qualifier is the name of a catalogued subroutine that will emit the page overlay. This subroutine takes a single argument, the print unit number, and should not perform any other action.
Example
LIST ORDERS OVERLAY ORD.OV LPTR
This command lists the ORDERS file, overlaying each page with a graphical image generated by the ORD.OV subroutine. |