You specify the character set you want to use with the CCSID parameter when you create a source physical file. The default for the CCSID parameter is the CCSID of the job.
This figure shows you what happens when you create a program object that has a root source member with CCSID 273 and include files with different CCSIDs. The ILE C compiler converts the include files to CCSID 273. The program object is created with the same CCSID as the root source member.
Figure 334. Source File CCSID Conversion
Example:
The following example shows you how to specify CCSID 273 for the source physical file QCSRC in library MYLIB.
To create a source physical file with CCSID 273, type:
CRTSRCPF FILE(MYLIB/QCSRC) CCSID(273)
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.