ILE C/C++ Compiler Reference

TGTCCSID

Specifies the target coded character set identifier (CCSID) of the created object. The object's CCSID identifies the coded character set identifier in which the module's character data is stored. This includes 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.


C Compiler
If an ASCII CCSID is entered, the compiler issues an error message and assumes a CCSID of 37.


C++ Compiler
If an ASCII CCSID is entered, the compiler issues no error message. Translation occurs to the ASCII CCSID but the created module has a CCSID of 65535.

The TGTCCSID option will also determine the CCSID of character values used in listings. However, listings sent to a spool file will be in the job's CCSID because that is the CCSID of the spool file.

This option is ignored when targeting a compile for a release previous to V5R1.

|--+--------------------------------------------------+---------|
   |            .-*SOURCE------------------------.    |
   '-TGTCCSID(--+-*JOB---------------------------+--)-'
                +-*HEX---------------------------+
                '-coded-character-set-identifier-'
 
 
*SOURCE
Default setting. The CCSID of the root source file is used.
*JOB
The CCSID of the current job is used.
*HEX
The CCSID 65535 is used, indicating that character data is treated as bit data and is not converted.
coded-character-set-identifier
Specifies a specific CCSID to be used.


[ Top of Page | Previous Page | Next Page | Table of Contents ]