Please enable JavaScript to view this site.

This exit program allows you to print the same text more than once on separate pages as for labels. The maximum number of text lines per page is 99.

FIRST call –        To pass in spool file details and clear the old stored text

Parameter

In

Len

Comment

PARM1

Output queue

10

Only if different from QPRINT in

PARM2

Output queue Library

10

Library CPPD (must exist).

PARM3

User Data

10

Only if different from COBLABEL.

PARM4

Form Type

10

Only if required.

PARM5

-

 


PARM6

*FIRST

7


TEXT call – To pass in the lines of data to be printed on each page of the output. Note: *TEXT call MUST come before *LAST call.

Parameter

In

Len

Comment

PARM1

Data or *NONE

132


PARM2

Data or *NONE

132


PARM3

Data or *NONE

132


PARM4

Data or *NONE

132


PARM5

Data or *NONE

132


PARM6

*TEXT

7


LAST call – This must when you wish to output the label information to a spooled file.

Parameter

In

Len

Comment

PARM1

Quantity of Labels

5

Assume 1 if blank

PARM2

Start Label number

5

Assume 1 if blank

PARM3

*YES or *NO [default *YES]

4

Pad Sequence No with zeros

PARM4

-

 


PARM5

-

 


PARM6

*LAST

7


When PARM6 = *LAST program a new print file COBLABEL in output queue QPRINT in library CPPD with user data COBLABEL unless specified in above parameters.