HIGHLIGHT (Highlight) keyword in printer files

You use this record-level or field-level keyword to indicate that a field should be printed in bold letters.

This keyword has no parameters.

This keyword is valid for both IPDS and SCS printers.

For files created with DEVTYPE(*AFPDS), this keyword applies only to registered font IDs. If HIGHLIGHT is used with a coded font or character set and code page, a message is issued. See the IBM® Infoprint Fonts: Font SummaryLink to PDF book for a listing of font IDs.

If you specify HIGHLIGHT at the record level, the keyword applies to all fields in that record. Thus, if both the record- and field-level HIGHLIGHT keywords are specified and either indicator condition is met, the HIGHLIGHT keyword is used.

The HIGHLIGHT keyword might not apply during printing because of the font being used. Do not use HIGHLIGHT if a numeric font that does not support the highlight font is specified, or if a graphics font is specified.

The HIGHLIGHT keyword is valid on either named or constant fields.

This keyword is valid for data types A, S, and F. You can specify HIGHLIGHT only once for each record and once for each field.

Option indicators are valid for this keyword.

Example

The following example shows how to specify the HIGHLIGHT keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A          R RECORD1
     A  01                                  HIGHLIGHT
     A                                  4 01'HIGHLIGHT IF 01'
     A            FLD1           3A    11 01TEXT('HIGHTLIGHT IF 02N90  +
     A                                      OR 01')
     A  02N90                               HIGHLIGHT
     A