CCSID definition keyword

Start of change This keyword sets the CCSID for alphanumeric, graphic, and UCS-2 definitions. End of change

Start of change number must be an integer between 0 and 65535. It must be a valid CCSID value. End of change

Start of change For program-described fields, the CCSID keyword overrides the defaults set on the control specification or the /SET directive with the CCSID(*CHAR), CCSID(*GRAPH), or CCSID(*UCS2) keyword. End of change

Start of change Some special values are allowed
*DFT
CCSID(*DFT) indicates that the current default CCSID for the module is to be used. This is useful when the LIKE keyword is used since the new field would otherwise inherit the CCSID of the source field. See /SET for more information about the current default CCSID.
*{NO}EXACT
CCSID(*EXACT) and CCSID(*NOEXACT) are valid for externally-described data structures and data structures defined with the LIKEREC keyword. The CCSID keyword for a data structure controls the CCSID of alphanumeric subfields. See CCSID(*EXACT | *NOEXACT) for more information.
*HEX, or 65535
CCSID(*HEX) is valid for alphanumeric and graphic definitions. It indicates that the data is not considered to have a CCSID. Items defined with CCSID(*HEX) or CCSID(65535) cannot be used in CCSID conversions.
*JOBRUN
CCSID(*JOBRUN) is valid for alphanumeric and graphic definitions. It indicates that the data is is in the job CCSID at runtime.
*JOBRUNMIX
CCSID(*JOBRUNMIX) is valid for alphanumeric definitions. It indicates that the CCSID is the mixed-byte CCSID related to the job CCSID.
*UTF8
CCSID(*UTF8) is valid for alphanumeric definitions. It indicates that the CCSID is 1208, which is the CCSID for UTF-8 Unicode data.
*UTF16
CCSID(*UTF16) is valid for UCS-2 definitions. It indicates that the CCSID is 1200, which is the CCSID for UTF-16 Unicode data.
End of change
Start of change If the keyword is not specified End of change
Note: Start of change End of change