68 lines
4.0 KiB
HTML
68 lines
4.0 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="Interpret compile errors in applications that use SQL" />
|
||
|
<meta name="abstract" content="Sometimes you will encounter compile errors. Use the following information to interpret these errors." />
|
||
|
<meta name="description" content="Sometimes you will encounter compile errors. Use the following information to interpret these errors." />
|
||
|
<meta name="DC.subject" content="precompiler, warning, errors, compile step" />
|
||
|
<meta name="keywords" content="precompiler, warning, errors, compile step" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajppreprog.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzajperrorandwarning.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="rzajpinterpreterrors" />
|
||
|
<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>Interpret compile errors in applications that use SQL</title>
|
||
|
</head>
|
||
|
<body id="rzajpinterpreterrors"><a name="rzajpinterpreterrors"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Interpret compile errors in applications that use SQL</h1>
|
||
|
<div><p>Sometimes you will encounter compile errors. Use the following
|
||
|
information to interpret these errors.</p>
|
||
|
<div class="section"> <div class="attention"><span class="attentiontitle">Attention:</span> If you separate precompile and compile steps,
|
||
|
and the source program refers to externally described files, the referred
|
||
|
to files must not be changed between precompile and compile. Otherwise, results
|
||
|
that are not predictable may occur because the changes to the field definitions
|
||
|
are not changed in the temporary source member.</div>
|
||
|
</div>
|
||
|
<div class="section"><p>Examples of externally described files are:</p>
|
||
|
</div>
|
||
|
<div class="section"> <ul><li>COPY DDS in COBOL</li>
|
||
|
<li>%INCLUDE in PL/I</li>
|
||
|
<li>#pragma mapinc and #include in C or C++</li>
|
||
|
<li>Externally-described files and externally-described data structures in
|
||
|
RPG</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="section"><p>When the SQL precompiler does not recognize host variables, try
|
||
|
compiling the source. The compiler will not recognize the EXEC SQL statements,
|
||
|
ignore these errors. Verify that the compiler interprets the host variable
|
||
|
declaration as defined by the SQL precompiler for that language.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzajperrorandwarning.htm">Error and warning messages during a compile of application programs that use SQL</a></strong><br />
|
||
|
The conditions described in the following topics could produce an error or warning message during an attempted compile process.</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>
|
||
|
</body>
|
||
|
</html>
|