314 lines
9.4 KiB
HTML
314 lines
9.4 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 Proc Attributes (CHGS36PRCA)</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="CHGS36PRCA.Top_Of_Page"></a>
|
|
<h2>Change S/36 Proc Attributes (CHGS36PRCA)</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="#CHGS36PRCA.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGS36PRCA.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGS36PRCA.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGS36PRCA"></a>
|
|
<p>The Change System/36 Procedure Attributes (CHGS36PRCA) command changes the attributes of the specified procedure.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGS36PRCA.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="#CHGS36PRCA.MBR"><b>MBR</b></a></td>
|
|
<td valign="top">S/36 procedure member</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
<td valign="top">Required, Key, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#CHGS36PRCA.FILE"><b>FILE</b></a></td>
|
|
<td valign="top">Source file</td>
|
|
<td valign="top"><i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional, Key, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Source file</td>
|
|
<td valign="top"><i>Name</i>, <b><u>QS36PRC</u></b></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="#CHGS36PRCA.MRT"><b>MRT</b></a></td>
|
|
<td valign="top">MRT procedure</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGS36PRCA.MRTDLY"><b>MRTDLY</b></a></td>
|
|
<td valign="top">MRT delay</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGS36PRCA.LOG"><b>LOG</b></a></td>
|
|
<td valign="top">Log OCL statements</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGS36PRCA.PGMDTA"><b>PGMDTA</b></a></td>
|
|
<td valign="top">Contains program data</td>
|
|
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGS36PRCA.RCDLEN"><b>RCDLEN</b></a></td>
|
|
<td valign="top">Logical record length</td>
|
|
<td valign="top">40-120, <b><u>*SAME</u></b>, *FILE</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGS36PRCA.REFNBR"><b>REFNBR</b></a></td>
|
|
<td valign="top">Reference number</td>
|
|
<td valign="top">0-999999, <b><u>*SAME</u></b>, *NEXT</td>
|
|
<td valign="top">Optional</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGS36PRCA.MBR"></a>
|
|
<h3>S/36 procedure member (MBR)</h3>
|
|
<p>Specifies the name of the procedure member that has its attributes changed.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>procedure-member-name</i></b></dt>
|
|
<dd>Specify the name of the procedure member having its attributes changed.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.FILE"></a>
|
|
<h3>Source file (FILE)</h3>
|
|
<p>Specifies the name of the physical file containing the procedure member.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>QS36PRC</u></b></dt>
|
|
<dd>Specifies the name of the default physical file.
|
|
</dd>
|
|
<dt><b><i>source-file-name</i></b></dt>
|
|
<dd>Specify the name of the physical file.
|
|
</dd>
|
|
</dl>
|
|
<p>The possible library values are:
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>The library list is used to locate the file.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library for the job is used to locate the file. 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 file is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.MRT"></a>
|
|
<h3>MRT procedure (MRT)</h3>
|
|
<p>Specifies whether the procedure is a multiple requester terminal (MRT) procedure.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The MRT value does not change.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The procedure is not a multiple requester terminal procedure.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The procedure is a multiple requester terminal procedure.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.MRTDLY"></a>
|
|
<h3>MRT delay (MRTDLY)</h3>
|
|
<p>Specifies whether the procedure should use the default MRT delay value.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The MRTDLY parameter does not change.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The procedure uses the default MRT delay value.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The procedure does not use the default MRT delay value.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.LOG"></a>
|
|
<h3>Log OCL statements (LOG)</h3>
|
|
<p>Specifies whether the operator control language (OCL) statements are copied to the job log when the procedure is run.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The LOG value does not change.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The OCL statements are not copied to the job log.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The OCL statements are copied to the job log.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.PGMDTA"></a>
|
|
<h3>Contains program data (PGMDTA)</h3>
|
|
<p>Specifies whether the procedure passed data or parameters to the program.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The DTA value does not change.
|
|
</dd>
|
|
<dt><b>*NO</b></dt>
|
|
<dd>The procedure passes parameters to the program.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>The procedure passes data to the program.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.RCDLEN"></a>
|
|
<h3>Logical record length (RCDLEN)</h3>
|
|
<p>Specifies the logical record length of the statements in the procedure member.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The RCDLEN value does not change.
|
|
</dd>
|
|
<dt><b>*FILE</b></dt>
|
|
<dd>The record length of the file specified by the <b>Source file</b> prompt (FILE parameter) is used.
|
|
</dd>
|
|
<dt><b><i>record-length</i></b></dt>
|
|
<dd>Specify the logical record length. Valid values range from 40 through 120.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGS36PRCA.REFNBR"></a>
|
|
<h3>Reference number (REFNBR)</h3>
|
|
<p>Specifies the reference number that is assigned to the procedure member.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The REFNBR value does not change.
|
|
</dd>
|
|
<dt><b>*NEXT</b></dt>
|
|
<dd>The current reference number is increased by one.
|
|
</dd>
|
|
<dt><b><i>reference-number</i></b></dt>
|
|
<dd>Specify the reference number of the procedure member. Valid values range from 0 through 999,999.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGS36PRCA.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
CHGS36PRCA MBR(RPGPROC) FILE(RPGLIB/QS36PRC) MRT(*YES)
|
|
RCDLEN(*FILE) REFNBR(*NEXT)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes procedure RPGPROC in file QS36PRC in library RPGLIB to be an MRT procedure with a logical record length the same as the QS36PRC file, and increments the current reference number by one.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGS36PRCA.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF2C0A</b></dt>
|
|
<dd>Member &3 attributes not changed.
|
|
</dd>
|
|
<dt><b>CPF2C0B</b></dt>
|
|
<dd>Changing attributes not allowed for SSP member &3.
|
|
</dd>
|
|
<dt><b>CPF2C08</b></dt>
|
|
<dd>File &1 is not a source file.
|
|
</dd>
|
|
<dt><b>CPF9803</b></dt>
|
|
<dd>Cannot allocate object &2 in library &3.
|
|
</dd>
|
|
<dt><b>CPF9812</b></dt>
|
|
<dd>File &1 in library &2 not found.
|
|
</dd>
|
|
<dt><b>CPF9815</b></dt>
|
|
<dd>Member &5 file &2 in library &3 not found.
|
|
</dd>
|
|
<dt><b>CPF9820</b></dt>
|
|
<dd>Not authorized to use library &1.
|
|
</dd>
|
|
<dt><b>CPF9822</b></dt>
|
|
<dd>Not authorized to file &1 in library &2.
|
|
</dd>
|
|
<dt><b>CPF9826</b></dt>
|
|
<dd>Cannot allocate file &2.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGS36PRCA.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|