ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzajp_5.4.0.1/rzajpilesqlprecompile.htm

64 lines
4.6 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="ILE SQL precompiler commands" />
<meta name="abstract" content="In the DB2 UDB Query Manager and SQL Development Kit, the following ILE precompiler commands exist: CRTSQLCI, CRTSQLCPPI, CRTSQLCBLI, and CRTSQLRPGI." />
<meta name="description" content="In the DB2 UDB Query Manager and SQL Development Kit, the following ILE precompiler commands exist: CRTSQLCI, CRTSQLCPPI, CRTSQLCBLI, and CRTSQLRPGI." />
<meta name="DC.subject" content="compiling, application program, ILE, compiling, ILE, program, compiling application, ILE (Integrated Language Environment), C program, compiler parameters, C++ program, ILE RPG program, precompiler command, CRTSQLCI, CRTSQLCBLI, CRTSQLRPGI, CRTSQLCPPI" />
<meta name="keywords" content="compiling, application program, ILE, compiling, ILE, program, compiling application, ILE (Integrated Language Environment), C program, compiler parameters, C++ program, ILE RPG program, precompiler command, CRTSQLCI, CRTSQLCBLI, CRTSQLRPGI, CRTSQLCPPI" />
<meta name="DC.Relation" scheme="URI" content="rzajppreprog.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajpcompileile.htm" />
<meta name="DC.Relation" scheme="URI" content="rzajpsyntax.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="rzajpilesqlprecompile" />
<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 SQL precompiler commands</title>
</head>
<body id="rzajpilesqlprecompile"><a name="rzajpilesqlprecompile"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">ILE SQL precompiler commands</h1>
<div><p>In the <span class="keyword">DB2<sup>®</sup> UDB Query Manager and SQL Development Kit</span>,
the following ILE precompiler commands exist: <span class="cmdname">CRTSQLCI</span>, <span class="cmdname">CRTSQLCPPI</span>, <span class="cmdname">CRTSQLCBLI</span>,
and <span class="cmdname">CRTSQLRPGI</span>. </p>
<div class="section"><p>There is a precompiler command for each of the host languages:
ILE C for <span class="keyword">iSeries™</span>, ILE C++
for iSeries,
ILE COBOL for <span class="keyword">iSeries</span>, and
ILE RPG. Separate commands, by language, let you specify the required parameters
and take the default for the remaining parameters. The defaults are applicable
only to the language you are using. For example, the options *APOST and *QUOTE
are unique to COBOL. They are not included in the commands for the other languages. </p>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="rzajpcompileile.htm">Compile an ILE application program that uses SQL</a></strong><br />
The SQL precompiler automatically calls the host language compiler
after the successful completion of a precompile for the <span class="cmdname">CRTSQLxxx</span> commands,
unless *NOGEN is specified.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzajppreprog.htm" title="This topic describes some of the tasks for preparing and running an application program.">Prepare and run a program with SQL statements</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzajpsyntax.htm" title="DB2 UDB for iSeries provides commands for precompiling programs coded in the following programming languages:">DB2 UDB for iSeries CL command descriptions for host language precompilers</a></div>
</div>
</div>
</body>
</html>