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

180 lines
5.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>Change S/36 Program Attributes (CHGS36PGMA)</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="CHGS36PGMA.Top_Of_Page"></a>
<h2>Change S/36 Program Attributes (CHGS36PGMA)</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="#CHGS36PGMA.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGS36PGMA.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGS36PGMA.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGS36PGMA"></a>
<p>The Change System/36 Program Attributes (CHGS36PGMA) command changes the attributes of the specified program.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGS36PGMA.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="#CHGS36PGMA.PGM"><b>PGM</b></a></td>
<td valign="top">S/36 program</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Key, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: S/36 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><tr>
<td valign="top"><a href="#CHGS36PGMA.MRTMAX"><b>MRTMAX</b></a></td>
<td valign="top">Maximum MRT's</td>
<td valign="top">1-255, <b><u>*NONE</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGS36PGMA.NEP"><b>NEP</b></a></td>
<td valign="top">Never-ending program</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGS36PGMA.PGM"></a>
<h3>S/36 program (PGM)</h3>
<p>Specifies the name of the program whose attributes you want to change.
</p>
<p>This is a required parameter.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is used to locate the program.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the program. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the library where the program is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGS36PGMA.MRTMAX"></a>
<h3>Maximum MRT's (MRTMAX)</h3>
<p>Specifies the maximum number of multiple requester terminals that can be attached to the program.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The MRTMAX value is not changed.
</dd>
<dt><b><i>number-of-requesters</i></b></dt>
<dd>Specify the maximum number of requesters for a program. Possible values range from 1 through 256. The value cannot be increased beyond the current value.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGS36PGMA.NEP"></a>
<h3>Never-ending program (NEP)</h3>
<p>Specifies whether the program is a never-ending program (NEP). NEP is defined as a long-running program.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The NEP value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>The program is not a never-ending program.
</dd>
<dt><b>*YES</b></dt>
<dd>The program is a never-ending program.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGS36PGMA.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGS36PGMA PGM(RPGLIB/RPGPGM) MRTMAX(3) NEP(*YES)
</pre>
</p>
<p>This command changes program RPGPGM in RPGLIB to allow up to three MRTs and to be a never-ending program.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGS36PGMA.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2C01</b></dt>
<dd>Program &amp;1 attributes not changed.
</dd>
<dt><b>CPF2C02</b></dt>
<dd>Changing attributes not allowed for SSP program &amp;1.
</dd>
<dt><b>CPF2C03</b></dt>
<dd>MRTMAX parameter value &amp;3 not correct.
</dd>
<dt><b>CPF2C05</b></dt>
<dd>Program name *ALL not allowed with library *LIBL.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9811</b></dt>
<dd>Program &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9820</b></dt>
<dd>Not authorized to use library &amp;1.
</dd>
<dt><b>CPF9830</b></dt>
<dd>Cannot assign library &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGS36PGMA.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>