CCSID 102 â What's a CCSID and why do I care?
CCSID 102 â What's a CCSID and why do I care?
CCSID 102 â What's a CCSID and why do I care?
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
IBM Software Group | DB2 Information Management Software<br />
Program Preparation V8<br />
NEWFUN(YES)<br />
<strong>CCSID</strong>(nnnn)<br />
Application<br />
source<br />
Unicode<br />
Precompiler<br />
NEWFUN?<br />
Modified<br />
source<br />
Listing,<br />
Messages<br />
EBCDIC<br />
DBRM<br />
Unicode<br />
DBRM<br />
Compiler<br />
Object module<br />
Parser<br />
DB2 Bind<br />
Linkage<br />
editor<br />
Load module<br />
Dynamic<br />
SQL<br />
SYSPLAN<br />
SYSPACKAGE<br />
SCT02<br />
SPT01<br />
<strong>CCSID</strong>(nnnn) input parameter to the Unicode Precompiler<br />
specifies the <strong>CCSID</strong> of the application source to ensure proper<br />
conversion to unicode for processing. The default value of the<br />
<strong>CCSID</strong> option is the EBCDIC system <strong>CCSID</strong> as specified on the<br />
panel DSNTIPF during installation.<br />
The modified source program (an output of precompilation)<br />
remains in its original <strong>CCSID</strong>. If the DBRM is later bound to a<br />
server that <strong>do</strong>es not support UTF-8, the SQL statements are then<br />
converted from <strong>CCSID</strong> 1208 (UTF-8) <strong>and</strong> sent in the EBCDIC<br />
system <strong>CCSID</strong>.<br />
• NEWFUN(YES)<br />
• Accept V8 new syntax<br />
• Unicode DBRM<br />
• NEWFUN(NO)<br />
• Reject V8 new syntax<br />
• EBCDIC DBRM<br />
•<strong>CCSID</strong>(nnnn)<br />
•It is important to note that this <strong>CCSID</strong> applies to the<br />
source of the application program. It <strong>do</strong>es not necessarily<br />
apply to host variables that are used by this application.