62 lines
3.8 KiB
HTML
62 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="Common errors when compiling" />
|
|
<meta name="abstract" content="The types of errors that are detected at compile time include syntax errors, references to variables and labels not defined, and missing statements." />
|
|
<meta name="description" content="The types of errors that are detected at compile time include syntax errors, references to variables and labels not defined, and missing statements." />
|
|
<meta name="DC.subject" content="compiler error, error, compiler" />
|
|
<meta name="keywords" content="compiler error, error, compiler" />
|
|
<meta name="DC.Relation" scheme="URI" content="crpro.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="compi.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="compi.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="errco" />
|
|
<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>Common errors when compiling</title>
|
|
</head>
|
|
<body id="errco"><a name="errco"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Common errors when compiling</h1>
|
|
<div><p>The types of errors that are detected at compile time include syntax
|
|
errors, references to variables and labels not defined, and missing statements. </p>
|
|
<p>In the compiler listing of a module, an error condition that relates directly
|
|
to a specific command is listed after that command. Messages
|
|
that do not relate to a specific command but are more general in nature are
|
|
listed in a messages section of the listing, not inline with source statements.</p>
|
|
<p>The following types of errors stop the procedure from being created (severity
|
|
codes are ignored). </p>
|
|
<ul><li>Value errors</li>
|
|
<li>Syntax errors</li>
|
|
<li>Errors related to dependencies between parameters within a command</li>
|
|
<li>Errors detected during validity checking.</li>
|
|
</ul>
|
|
<p>Even after an error that stops the procedure from being created is encountered,
|
|
the compiler continues to check the source for errors. This lets you see
|
|
and correct as many errors as possible before you try to create the module
|
|
or program again.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="crpro.htm" title="A CL source procedure must be compiled into a module and bound into a program before it can be run.">Compile CL procedures</a></div>
|
|
</div>
|
|
<div class="relref"><strong>Related reference</strong><br />
|
|
<div><a href="compi.htm" title="When you create a CL module, you can create various types of listings using the OPTION and OUTPUT parameters on the Create Control Language Module (CRTCLMOD) command.">CL module compiler listings</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |