Examples of the COPIES parameter
//RECORD1 DD SYSOUT=A,COPIES=32
This example requests 32 copies of the data set defined by DD statement RECORD1 when printing on an impact printer or an AFP printer.
//RECORD2 DD SYSOUT=A,COPIES=(0,(1,2))
In this example, when printing on an AFP printer, three copies of the data set are printed in two groups. The first group contains one copy of each page. The second group contains two copies of each page. When printing on an impact printer, one copy (the default for nnn) is printed.
//RECORD3 DD SYSOUT=A,COPIES=(8,(1,3,2))
In this example, when printing on an AFP printer, six copies of the data set are printed in three groups. The first group contains one copy of each page, the second group contains three copies of each page, and the last group contains two copies of each page. When the output device is not an AFP printer, the system prints eight collated copies.
//RECORD4 DD UNIT=AFP1,COPIES=(1,(2,3))
Because the UNIT parameter is coded and the device is an AFP printer, the system prints only the first group-value: two copies of each page.