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

105 lines
3.5 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>Copyright (COPYRIGHT)</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="COPYRIGHT.Top_Of_Page"></a>
<h2>Copyright (COPYRIGHT)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>
<ul><li>Batch ILE CL module (*BMOD)</li>
<li>Interactive ILE CL module (*IMOD)</li>
</ul><b>Threadsafe: </b>Yes
</td>
<td valign="top" align="right">
<a href="#COPYRIGHT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#COPYRIGHT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#COPYRIGHT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="COPYRIGHT"></a>
<p>The Copyright (COPYRIGHT) command defines the text of a copyright statement to be added to a CL module.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>The COPYRIGHT command is valid only within an ILE CL module.
</li>
<li>If used, the COPYRIGHT command must follow the PGM command and must precede any other commands except for DCL, DCLF, and DCLPRCOPT.
</li>
<li>Only one COPYRIGHT command will be used by the CL compiler; if more than one are specified, only the first one is used, and warning messages will be issued for additional COPYRIGHT statements.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#COPYRIGHT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="COPYRIGHT.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"><a href="#COPYRIGHT.TEXT"><b>TEXT</b></a></td>
<td valign="top">Copyright text</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#COPYRIGHT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="COPYRIGHT.TEXT"></a>
<h3>Copyright text (TEXT)</h3>
<p>Specifies the copyright text to be inserted into the module.
</p>
<dl>
<dt><b><i>'copyright-text'</i></b></dt>
<dd>Specify the text to be used for the copyright statement. The text will be used exactly as specified. The maximum length allowed is 256 characters.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#COPYRIGHT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="COPYRIGHT.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Setting the Copyright Text for a CL Module</b>
</p>
<p>
<pre>
COPYRIGHT TEXT('Copyright ACME Corp. 1995. All rights reserved.')
</pre>
</p>
<p>This command specifies the copyright text for the module being created. This text will be displayed when a user runs the Display Module (DSPMOD) command, specifying DETAIL(*COPYRIGHT), for the module.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#COPYRIGHT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="COPYRIGHT.ERROR.MESSAGES">Error messages</a> </h3>
<p>None
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#COPYRIGHT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>