56 lines
3.3 KiB
HTML
56 lines
3.3 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="Source file CCSIDs in the SQL precompiler" />
|
||
|
<meta name="abstract" content="The SQL precompiler reads the source records by using the CCSID of the source file." />
|
||
|
<meta name="description" content="The SQL precompiler reads the source records by using the CCSID of the source file." />
|
||
|
<meta name="DC.subject" content="CCSID, source file, include file, include file, precompiler, source file" />
|
||
|
<meta name="keywords" content="CCSID, source file, include file, include file, precompiler, source file" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajpprecomp.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzajpsourceccsid" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>Source file CCSIDs in the SQL precompiler</title>
|
||
|
</head>
|
||
|
<body id="rzajpsourceccsid"><a name="rzajpsourceccsid"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Source file CCSIDs in the SQL precompiler</h1>
|
||
|
<div><p>The SQL precompiler reads the source records by using the CCSID
|
||
|
of the source file. </p>
|
||
|
<div class="section"><p>When processing SQL INCLUDE statements, the include source is
|
||
|
converted to the CCSID of the original source file if necessary. If the include
|
||
|
source cannot be converted to the CCSID of the original source file, an error
|
||
|
occurs.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>The SQL precompiler processes SQL statements using the source
|
||
|
CCSID. This affects variant characters the most. For example, the not sign
|
||
|
(¬) is located at 'BA'X in CCSID 500. This means that if the CCSID of your
|
||
|
source file is 500, SQL expects the not sign (¬) to be located at 'BA'X.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>If the source file CCSID is 65535, SQL processes variant characters
|
||
|
as if they had a CCSID of 37. This means that SQL looks for the not sign (¬)
|
||
|
at '5F'X.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajpprecomp.htm" title="You must precompile and compile an application program containing embedded SQL statements before you can run it.">Basic processes of the SQL precompiler</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|