Please enable JavaScript to view this site.

This is an MANDATORY call and should be inside either a “Page = *LAST” or “Page = *END” condition and only called ONCE within a PPD file.

This calls the print program to produce the new print file ADVPRTP or ADVPRTL (depending upon whether using 132 characters or wider respectively) in output queue QPRINT in library CPPD with user data ADVRPRT unless overridden in the parameters. Once the print program has been called the ADVRFMT program ends.

Parameter

In

Len

Comment

PARM1

Output queue

10

Only if different from QPRINT (must exist).

PARM2

Output queue Library

10

Only if different from CPPD (must exist).

PARM3

User Data

10

Only if different from ADVRPRT

PARM4

Form Type

10

Optional

PARM5

Split Output see Note #1.

10


PARM6

*LAST

7


Note #1: There are three keywords that can be used in this Split Output parameter.

*SPLITKEY1

Create a new spool file when Key Field 1 [*KEY call] changes

*SPLITKEY2

Create a new spool file when Key Fields 1 & 2 [*KEY call] change

*SPLITKEY3

Create a new spool file when Key Field 1, 2 & 3 [*KEY call] change