When a display file object is created, it is tagged with the coded character set identifier (CCSID) of the source file.
At compile time:
At run time, the constant data is converted based on the CHRID parameter value used to create the display file object. This conversion is optional and can occur only when the CHRID is set to *JOBCCSID or indirectly with CHRIDCTL. This conversion is from the display file CCSID to the character identifier (CHRID) of the device. The field-level keyword NOCCSID (no coded character set identifier) allows the user to specify fields within the DDS that are never to be converted.
The CHRID parameter on the Create Display File (CRTDSPF) command affects the conversion that occurs for the display file.
If the *JOBCCSID value is specified on the CHRID parameter of the CRTDSPF command:
If a specific value is specified for the CHRID parameter on the CRTDSPF command, conversion is done between the CHRID specified on the CRTDSPF command and the CHRID of the device. This conversion affects only fields defined with the CHRID DDS keyword.
If the *DEVD value is specified on the CHRID parameter of the CRTDSPF command, no conversion is performed. This is the default setting.
All source files in Version 3 of the i5/OS™ licensed program have an implicit CCSID value of 65535. To have appropriate CCSID support, display files must be recompiled with a source file that has a CCSID value other than 65535 if either of the following conditions are true:
By recompiling, the display file object is tagged and all necessary conversions take place when needed.
No conversions take place if the source files are explicitly tagged CCSID 65535.