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

393 lines
14 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 ICF File (CHGICFF)</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="CHGICFF.Top_Of_Page"></a>
<h2>Change ICF File (CHGICFF)</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="#CHGICFF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGICFF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGICFF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGICFF"></a>
<p>The Change Intersystem Communications Function File (CHGICFF) command changes the attributes of the ICF file.
</p>
<p>Only the information specified on this command can be changed. If the data description specifications (DDS) used to create the file are changed, the ICF file must be re-created for the changes to be made in the file.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGICFF.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="#CHGICFF.FILE"><b>FILE</b></a></td>
<td valign="top">ICF communication file</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: ICF communication file</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="#CHGICFF.ACQPGMDEV"><b>ACQPGMDEV</b></a></td>
<td valign="top">Program device to acquire</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.MAXPGMDEV"><b>MAXPGMDEV</b></a></td>
<td valign="top">Maximum program devices</td>
<td valign="top">1-256, <b><u>*SAME</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.LVLCHK"><b>LVLCHK</b></a></td>
<td valign="top">Record format level check</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*SAME</u></b>, *BLANK</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.MAXRCDLEN"><b>MAXRCDLEN</b></a></td>
<td valign="top">Maximum record length</td>
<td valign="top">1-32767, <b><u>*SAME</u></b>, *CALC</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.WAITFILE"><b>WAITFILE</b></a></td>
<td valign="top">Maximum file wait time</td>
<td valign="top">1-32767, <b><u>*SAME</u></b>, *IMMED, *CLS</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGICFF.WAITRCD"><b>WAITRCD</b></a></td>
<td valign="top">Maximum record wait time</td>
<td valign="top">1-32767, <b><u>*SAME</u></b>, *NOMAX, *IMMED</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGICFF.DTAQ"><b>DTAQ</b></a></td>
<td valign="top">Data queue</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values: <i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Data queue</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="#CHGICFF.SHARE"><b>SHARE</b></a></td>
<td valign="top">Share open data path</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="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGICFF.FILE"></a>
<h3>ICF communication file (FILE)</h3>
<p>Specifies the intersystem communications function (ICF) file to be changed.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: ICF communication file</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the ICF file.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library is used to locate the ICF file. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the ICF file is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.ACQPGMDEV"></a>
<h3>Program device to acquire (ACQPGMDEV)</h3>
<p>Specifies which program device is acquired when the file is opened.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The name of the acquired program device does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>The file is opened without a program device being acquired. All program devices used with this file must be explicitly acquired before input/output operations can be started with them.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify the name of the first program device that is acquired when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.MAXPGMDEV"></a>
<h3>Maximum program devices (MAXPGMDEV)</h3>
<p>Specifies the maximum number of program device entries that can be added to the intersystem communications function (ICF) file.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b><i>1-256</i></b></dt>
<dd>Specify the maximum number of program device entries.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.LVLCHK"></a>
<h3>Record format level check (LVLCHK)</h3>
<p>Specifies whether the level identifiers of the record formats in this device file are checked when the file is opened by a program.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*YES</b></dt>
<dd>The level identifiers of the record formats are checked when the file is opened. If the level identifiers are not all the same or they have not been specified in the program, an open error message is sent to the program that tried to open the file.
</dd>
<dt><b>*NO</b></dt>
<dd>The level identifiers of the record formats are not checked when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies the text that briefly describes the object.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The text (if any) does not change.
</dd>
<dt><b>*BLANK</b></dt>
<dd>No text is specified.
</dd>
<dt><b><i>character-value</i></b></dt>
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.MAXRCDLEN"></a>
<h3>Maximum record length (MAXRCDLEN)</h3>
<p>Specifies the maximum record length used when the file is opened.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The maximum record length does not change.
</dd>
<dt><b>*CALC</b></dt>
<dd>The length calculated for the largest record in the file is used when the file is opened.
</dd>
<dt><b><i>1-32767</i></b></dt>
<dd>Specify the maximum record length. If the record length is less than the length calculated for the largest record in the file, the calculated value is used.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.WAITFILE"></a>
<h3>Maximum file wait time (WAITFILE)</h3>
<p>Specifies the number of seconds that the program waits for the file resources to be allocated when the file is opened. If the file resources cannot be allocated within the specified wait time, an error message is sent to the program.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The wait time does not change.
</dd>
</dl>
<dl>
<dt><b>*IMMED</b></dt>
<dd>The program does not wait. Immediate allocation of file resources is required.
</dd>
</dl>
<dl>
<dt><b>*CLS</b></dt>
<dd>The job default wait time is used as the wait time for the file resources to be allocated.
</dd>
<dt><b><i>1-32767</i></b></dt>
<dd>Specify the number of seconds to wait for file resources to be allocated.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.WAITRCD"></a>
<h3>Maximum record wait time (WAITRCD)</h3>
<p>Specifies the number of seconds the program waits for the completion of a read-from-invited-devices operation to a multiple device file in a high-level language program. Refer to the high-level language reference manual to determine when a file is treated as a multiple device file. The program performing the read operation waits for the input form all invited devices currently accessing the file. If a record is not returned from any of the invited program devices in the specified amount of time, a notify message is sent to the program. This parameter has no effect on an input operation directed to a single device.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The wait record value does not change.
</dd>
<dt><b>*NOMAX</b></dt>
<dd>There is no limit on the amount of time the program waits for completion of the read-from-invited device operation.
</dd>
</dl>
<dl>
<dt><b>*IMMED</b></dt>
<dd>The program does not wait. If a record is not available when the read-from-invited-devices operation is done, a notify message is sent to the program.
</dd>
</dl>
<dl>
<dt><b><i>1-32767</i></b></dt>
<dd>Specify the number of seconds that the program waits for completion of the read-from-invited-device operation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.DTAQ"></a>
<h3>Data queue (DTAQ)</h3>
<p>Specifies the data queue on which entries are placed. The specified data queue must have a minimum length of 80 characters. The data queue need not exist when the display file is created since the name specified for this parameter is not evaluated until the file is used.
</p>
<p>
<b>Note: </b>Keyed data queues are not supported for this parameter. If a keyed data queue is specified, a run-time error will occur; but because it is not required that a data queue exist at the time the command is issued, the error will not be flagged.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The data queue name does not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No data queue is specified.
</dd>
</dl>
<p><b>Qualifier 1: Data queue</b>
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the data queue on which entries are placed.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched until the first match is found.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library is used to locate the data queue. If no library is specified as the current library, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the library where the data queue is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGICFF.SHARE"></a>
<h3>Share open data path (SHARE)</h3>
<p>Specifies whether the open data path (ODP) is shared with other programs in the same routing step. When an ODP is shared, the programs accessing the file share facilities such as the file status and the buffer.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the file does not change.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>The ODP is not shared with other programs in the routing step. A new ODP for the file is created and used every time a program opens the file.
</dd>
</dl>
<dl>
<dt><b>*YES</b></dt>
<dd>The same ODP is shared with each program in the job that also specifies *YES when it opens the file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGICFF.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGICFF FILE(ICFHIST) MAXPGMDEV(10)
</pre>
</p>
<p>This command changes the maximum number of program devices that can be added to the ICF file ICFHIST.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGICFF.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF7304</b></dt>
<dd>File &amp;1 in &amp;2 not changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGICFF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>