The TGTCCSID parameter allows you to choose the CCSID of the resulting module. The module's CCSID identifies the coded character set identifier in which the module's character data is stored, including character data used to describe literals, comments and identifier names described by the source (with the exception of identifier names for CCSIDs 5026, 930 and 290).
For example, if the root source file has a CCSID of 500 and the compiler parameter TGTCCSID default value is not changed (that is, *SOURCE), the behavior is as before with the resulting module CCSID of 500. All string and character literals, both single and wide-character, are as described in the source file's CCSID. Translations may still occur as before for literals, comments and identifiers.
However, if the TGTCCSID parameter is set to 37 and the same source recompiled, the resulting module CCSID is 37; all literals, comments, and identifiers are translated to 37 where needed and stored as such in the module.
Regardless of what CCSID the root source and included headers are, the resulting module is defined by the TGTCCSID, and all of its literals, comments, and identifiers are stored in this CCSID.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.