Use this record- or field-level keyword to vary the print quality within the file.
The format of the keyword is:
PRTQLTY(print-quality)
The parameter is required and must be one of the following special values:
The PRTQLTY keyword is allowed only on records or fields for which a CHRSIZ or BARCODE keyword applies.
If you do not specify this keyword, the print quality is set by the PRTQLTY parameter on the CRTPRTF, CHGPRTF, and OVRPRTF commands.
If you specify PRTQLTY at the record level, it applies to all fields in that record that do not have PRTQLTY specified at the field level.
PRTQLTY is valid for IPDS™ printers only. If you specify this keyword in a file created with DEVTYPE(*SCS), a warning message is issued at file creation time.
If you specify this keyword in a file created with DEVTYPE(*AFPDS), the print quality can only change on a page boundary. If PRTQLTY is received before any data is placed on the page, the quality of the page changes. Otherwise, the keyword is ignored and a diagnostic message is sent to the application program.
If you use PRTQLTY in the same record format with BLKFOLD, CPI, or DFNCHR keyword, the file is not created.
Option indicators are allowed for this keyword.
The following example shows how to specify the PRTQLTY keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 A R RECORD A FIELD3 10S O 4 65BARCODE(UPCE 6) A PRTQLTY(*DRAFT) A
The UPCE bar code in FIELD3 is printed with draft quality.