ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/stmtvw.htm

64 lines
3.8 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="task" />
<meta name="DC.Title" content="Use a statement view" />
<meta name="abstract" content="A statement view does not contain any CL source data. However, breakpoints can be added by using procedure names and statement numbers found in the compiler listing." />
<meta name="description" content="A statement view does not contain any CL source data. However, breakpoints can be added by using procedure names and statement numbers found in the compiler listing." />
<meta name="DC.subject" content="statement view, using" />
<meta name="keywords" content="statement view, using" />
<meta name="DC.Relation" scheme="URI" content="ppgmobj.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtbndcl.htm" />
<meta name="DC.Relation" scheme="URI" content="../cl/crtclmod.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="stmtvw" />
<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>Use a statement view</title>
</head>
<body id="stmtvw"><a name="stmtvw"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use a statement view</h1>
<div><p>A statement view does not contain any CL source data. However,
breakpoints can be added by using procedure names and statement numbers found
in the compiler listing. </p>
<div class="section"> <p>To debug an ILE CL module object using a statement view, you
need a copy of the compiler listing. </p>
<div class="note"><span class="notetitle">Note:</span> No data is shown in the Display
Module Source display when a statement view is used to debug an ILE CL module
object.</div>
<p>To debug an ILE CL module object by using a
statement view, use the *STMT, *SOURCE, *LIST, or *ALL option on the DBGVIEW
parameter for either the <span class="cmdname">Create CL Module (CRTCLMOD)</span> or <span class="cmdname">Create
Bound CL (CRTBNDCL)</span> commands when you create the module.</p>
<p>One
way to create a statement view is as follows: </p>
<pre><span><samp class="codeph">CRTCLMOD
MODULE(MYLIB/MYPGM) SRCFILE(MYLIB/QLSRC) SRCMBR(MYPGM) TEXT('CL Program')
DBGVIEW(*STMT)</samp></span></pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ppgmobj.htm" title="Before you can use the ILE source debugger, you must prepare the program object.">Prepare a program object for a debug session</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../cl/crtbndcl.htm">Create Bound CL Program (CRTBNDCL) command</a></div>
<div><a href="../cl/crtclmod.htm">Create CL Module (CRTCLMOD) command</a></div>
</div>
</div>
</body>
</html>