ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagsas400ilecguide.htm

63 lines
3.8 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="concept" />
<meta name="DC.Title" content="ILE C considerations" />
<meta name="abstract" content="When you compile programs with ILE C, consider this information." />
<meta name="description" content="When you compile programs with ILE C, consider this information." />
<meta name="DC.Relation" scheme="URI" content="rbagshilevellangproggde.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="rbagsas400ilecguide" />
<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>ILE C considerations</title>
</head>
<body id="rbagsas400ilecguide"><a name="rbagsas400ilecguide"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ILE C considerations</h1>
<div><p>When you compile programs with ILE C, consider this information.</p>
<ul><li>You can compile a source file in any EBCDIC code page except code page
00290.</li>
<li>If the CCSID of the primary source file is 65535, code page 00037 is assumed.</li>
<li>All secondary source files are converted to the CCSID of the primary source
file.<div class="note"><span class="notetitle">Note:</span> While most secondary source files are converted to the CCSID of
the primary source file, some conversions are not supported. Contact your IBM<sup>®</sup> service
representative if you require support for an unsupported CCSID conversion.</div>
</li>
<li>If the CCSID of the secondary source files is 65535, no conversion takes
place.</li>
<li>Any modules are created in the code page of the primary
source file. A module is an operating system object that can be a collection
of one or more procedures and one or more definitions for external or internal
variables. A module is compiled from source code.</li>
<li>When binding modules of different CCSIDs, no conversion takes place and
unpredictable results might occur.</li>
<li>You can use the trigraph support for the C characters that are not available
on all keyboards. Trigraph support generally uses invariant characters to
represent variant characters. For example, the left bracket ([) is represented
by ??(.</li>
</ul>
<p>The ILE C runtime library functions that parse strings containing variant
characters use the variant character code point value associated with the
CCSID of the job.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagshilevellangproggde.htm" title="Your major goal must be to have only one general set of running code that is common for all language versions and to make your programs table-driven as much as possible.">Code globalized applications with high-level languages</a></div>
</div>
</div>
</body>
</html>