ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/strcbldbg.htm

120 lines
3.8 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Start COBOL Debug (STRCBLDBG)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="STRCBLDBG.Top_Of_Page"></a>
<h2>Start COBOL Debug (STRCBLDBG)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#STRCBLDBG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRCBLDBG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRCBLDBG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRCBLDBG"></a>
<p>This command activates the debugging code that is created when the WITH DEBUGGING MODE clause is used in a COBOL program. This command must be entered for each COBOL program to be debugged in the next COBOL run unit.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCBLDBG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRCBLDBG.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#STRCBLDBG.PGM"><b>PGM</b></a></td>
<td valign="top">Program</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Program</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#STRCBLDBG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRCBLDBG.PGM"></a>
<h3>Program (PGM)</h3>
<p>Specifies the name of the compiled COBOL program and the library where it is located. This is a required parameter. The possible values are:
</p>
<dl>
<dt><b><i>program-name</i></b></dt>
<dd>Specifies the name by which the compiled COBOL program is known.
</dd>
</dl>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The system searches the library list to find the library where the program is located.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library is used. If you have not assigned a library as the current library, QGPL is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Enter the name of the library where the created program is stored.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCBLDBG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRCBLDBG.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Activate the debugging code for a COBOL program </b>
</p>
<p>
<pre>
STRCBLDBG PGM(MYLIB/XMPLE1)
</pre>
</p>
<p>This command activates the debugging code that was created for the COBOL program XMPLE1 in library MYLIB.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCBLDBG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRCBLDBG.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>LBE7018</b></dt>
<dd>Program &amp;1 not found.
</dd>
<dt><b>LBE7019</b></dt>
<dd>Library &amp;1 not found.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRCBLDBG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>