Use this field- or record-level keyword to specify the coded font for printing a named or constant field or fields within a record.
The format of the keyword is:
CDEFNT([library-name/]coded-font-name [point-size])
The coded-font-name parameter is required and can be up to 8 characters in length.
Use the optional library-name parameter to further qualify the coded font name. If you do not specify a library name, *LIBL is used to search for the coded font name at print time. If *LIBL is used, the system-supplied font libraries are added to the library list when searching for the requested font. Using the library-name parameter allows the coded font name to be located more rapidly. However, the library list is still used to locate the character set and code page defined by the coded font name.
Use the optional point-size parameter to further define a numeric font that specifies a point size. Specify the point-size paramter as an expression of the form (*POINTSIZE value). The valid values for this parameter are 0.1 through 999.9.
Notes:
The coded font value is validated at print time. An error message is issued if it is not valid or when the resource cannot be located.
Specify DEVTYPE(*AFPDS) on the CRTPRTF command when CDEFNT is specified in the file. If DEVTYPE is changed to anything other than *AFPDS, the keyword is ignored and a warning message is issued at print time.
CDEFNT cannot be specified at the same level as the FONT or FNTCHRSET keywords.
Option indicators are valid for this keyword.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.