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

713 lines
28 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 Display File (CHGDSPF)</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="CHGDSPF.Top_Of_Page"></a>
<h2>Change Display File (CHGDSPF)</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="#CHGDSPF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGDSPF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGDSPF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGDSPF"></a>
<p>The Change Display File (CHGDSPF) command changes the attributes of the specified display device file.
</p>
<p>Only the information specified in this command can be changed. If the data description specifications (DDS) used to create the file are changed, the display device file must be created again for the changes to be made in the file.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGDSPF.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="#CHGDSPF.FILE"><b>FILE</b></a></td>
<td valign="top">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: File</td>
<td valign="top"><i>Generic name, name</i>, *ALL</td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *ALL, *ALLUSR, *USRLIBL</td>
</tr><tr>
<td valign="top"><a href="#CHGDSPF.DEV"><b>DEV</b></a></td>
<td valign="top">Display device</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 50 repetitions): <i>Name</i>, *REQUESTER</td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.MAXDEV"><b>MAXDEV</b></a></td>
<td valign="top">Maximum 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="#CHGDSPF.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="#CHGDSPF.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="#CHGDSPF.ENHDSP"><b>ENHDSP</b></a></td>
<td valign="top">Enhanced display</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.RSTDSP"><b>RSTDSP</b></a></td>
<td valign="top">Restore display</td>
<td valign="top"><b><u>*SAME</u></b>, *NO, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.DFRWRT"><b>DFRWRT</b></a></td>
<td valign="top">Defer write</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGDSPF.CHRID"><b>CHRID</b></a></td>
<td valign="top">Character identifier</td>
<td valign="top">Single values: <b><u>*SAME</u></b>, *DEVD, *SYSVAL, *JOBCCSID, *CHRIDCTL<br>Other values: <i>Element list</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Element 1: Graphic character set</td>
<td valign="top">
<i>Integer</i></td>
</tr>
<tr>
<td valign="top">Element 2: Code page</td>
<td valign="top">
<i>Integer</i></td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.DECFMT"><b>DECFMT</b></a></td>
<td valign="top">Decimal format</td>
<td valign="top"><b><u>*SAME</u></b>, *FILE, *JOB</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.SFLENDTXT"><b>SFLENDTXT</b></a></td>
<td valign="top">SFLEND text</td>
<td valign="top"><b><u>*SAME</u></b>, *FILE, *MSG</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.IGCDTA"><b>IGCDTA</b></a></td>
<td valign="top">User specified DBCS 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="#CHGDSPF.IGCEXNCHR"><b>IGCEXNCHR</b></a></td>
<td valign="top">DBCS extension characters</td>
<td valign="top"><b><u>*SAME</u></b>, *YES, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.WAITFILE"><b>WAITFILE</b></a></td>
<td valign="top">Maximum file wait time</td>
<td valign="top"><i>Integer</i>, <b><u>*SAME</u></b>, *CLS, *IMMED</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CHGDSPF.WAITRCD"><b>WAITRCD</b></a></td>
<td valign="top">Maximum record wait time</td>
<td valign="top"><i>Integer</i>, <b><u>*SAME</u></b>, *IMMED, *NOMAX</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CHGDSPF.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="#CHGDSPF.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="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGDSPF.FILE"></a>
<h3>File (FILE)</h3>
<p>Specifies the display device file to be changed.
</p>
<p>This is a required parameter.
</p>
<p><b>Qualifier 1: File</b>
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All of the display device files are changed in the specified libraries.
</dd>
<dt><b><i>generic-name</i></b></dt>
<dd>Specify the generic name of the display files to be changed. A generic name is a character string that contains one or more characters followed by an asterisk (*).
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the display file to be changed.
</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 for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched.
</dd>
</dl>
<dl>
<dt><b>*USRLIBL</b></dt>
<dd>If a current library entry exists in the library list for the current thread, the current library and the libraries in the user portion of the library list are searched. If there is no current library entry, only the libraries in the user portion of the library list are searched.
</dd>
</dl>
<dl>
<dt><b>*ALLUSR</b></dt>
<dd>All user libraries are searched. All libraries with names that do not begin with the letter Q are searched except for the following:
<p>
<pre>
#CGULIB #DSULIB #SEULIB
#COBLIB #RPGLIB
#DFULIB #SDALIB
</pre>
</p>
<p>Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
</p>
<p>
<pre>
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx
QGPL QSRVAGT QUSRINFSKR
QGPL38 QSYS2 QUSRNOTES
QMGTC QSYS2xxxxx QUSROND
QMGTC2 QS36F QUSRPOSGS
QMPGDATA QUSER38 QUSRPOSSA
QMQMDATA QUSRADSM QUSRPYMSVR
QMQMPROC QUSRBRM QUSRRDARS
QPFRDATA QUSRDIRCL QUSRSYS
QRCL QUSRDIRDB QUSRVI
</pre>
</p>
<ol>
<li>'xxxxx' is the number of a primary auxiliary storage pool (ASP).
</li>
<li>A different library name, in the format QUSRVxRxMx, can be created by the user for each previous release supported by IBM to contain any user commands to be compiled in a CL program for the previous release. For the QUSRVxRxMx user library, VxRxMx is the version, release, and modification level of a previous release that IBM continues to support.
</li>
</ol>
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>All libraries in the system, including QSYS, are searched.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.DEV"></a>
<h3>Display device (DEV)</h3>
<p>Specifies the names of one or more display devices that are used with this display device file to pass data records between the users of the display devices and their jobs. The device name specified in the display device file supplied by IBM is *REQUESTER.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The display device names do not change.
</dd>
<dt><b>*NONE</b></dt>
<dd>No display device name is specified. The name of the display device must be specified later in a Change Display File (CHGDSPF) command or Override with Display File (OVRDSPF) command, or in the high-level language program that opens the file.
</dd>
</dl>
<p><b>Other values (up to 50 repetitions)</b>
</p>
<dl>
<dt><b>*REQUESTER</b></dt>
<dd>The display device from which the program is called is the device assigned to the file when the file is opened.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the names of one or more display devices. *REQUESTER can be specified as one of the names. A maximum of 50 device names (including *REQUESTER) can be specified, but the total number cannot exceed the number specified for the <b>Maximum devices (MAXDEV)</b> parameter when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.MAXDEV"></a>
<h3>Maximum devices (MAXDEV)</h3>
<p>Specifies the maximum number of display devices that can be connected to the display device file at the same time while the file is open. However, if a CL program is written to get access to more than one work station through the same file (through a single running of the program), this parameter must specify a value greater than 1.
</p>
<p>The names of the devices are specified in the DEV parameter of this command, in a later CHGDSPF or OVRDSPF command, or in the HLL program that opens the file.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The maximum number of display devices that can be connected to the display device file does not change.
</dd>
<dt><b><i>1-256</i></b></dt>
<dd>Specify the maximum number of display devices that can be connected to this display device file at the same time.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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. If so, the record format identifiers in the program must match those in the device file. Because the same record format name can exist in more than one file, each record format is given an internal system identifier when it is created.
</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 are checked when the file is opened. If the level identifiers do not all match, an error message is sent to the program that requested opening of the file.
</dd>
</dl>
<dl>
<dt><b>*NO</b></dt>
<dd>The level identifiers are not checked when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.ENHDSP"></a>
<h3>Enhanced display (ENHDSP)</h3>
<p>Specifies whether the data being shown at a display station by this display file is using the enhanced capabilities available on the display station.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>This value does not change.
</dd>
<dt><b>*YES</b></dt>
<dd>The data for the display file is shown using any enhanced capabilities available on the display station. These capabilities can include mnemonics, selection cursor, and graphical window borders.
</dd>
<dt><b>*NO</b></dt>
<dd>The data for this display file is shown as it would be on a 5250 display station. No enhanced capabilities that are available on the display, such as mnemonics, selection cursor, or graphical window borders, are used. This value is normally used to preserve character-based interaction across all display stations.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.RSTDSP"></a>
<h3>Restore display (RSTDSP)</h3>
<p>Specifies whether data being shown at a display device by this display file is saved at the time the file is suspended (made temporarily inactive) so that a different display file can be used to show different data on the same device. If the data for this file is saved, it is restored to the display of the device when the file is used again.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>The data being shown by this file is not saved when the file is suspended.
</dd>
<dt><b>*YES</b></dt>
<dd>The data being shown when the file is suspended is saved so it can be restored to the display of the device when the file is used again.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.DFRWRT"></a>
<h3>Defer write (DFRWRT)</h3>
<p>Specifies that the writing of data is delayed until it can be shown with other data when a read request is made. Control is returned to the program immediately after the data is received. This may result in improved performance.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value specified in the device file does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>After a write operation, the user program does not regain control until the input/output operation is completed.
</dd>
<dt><b>*YES</b></dt>
<dd>When the program issues a write request, control is returned to that program after the buffer is processed. The data may not be shown immediately; the actual display of the data may take place later when a read or combined write/read operation is performed. The buffer is then available to be prepared for the next read or combined write/read operation.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.CHRID"></a>
<h3>Character identifier (CHRID)</h3>
<p>Specifies the type of character conversions that may occur for the display file. When necessary, the system converts character data sent to and received from the device. This ensures that the correct hexadecimal byte values of characters are sent to the device and are returned to the application program.
</p>
<p><b>Single values</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*DEVD</b></dt>
<dd>Specifies the CHRID of the device is used to represent the CCSID of the field data for every named field with the CHRID DDS keyword. No conversion will ever occur since the CCSID of the field data will always be the same as the CHRID of the device.
</dd>
<dt><b>*SYSVAL</b></dt>
<dd>Specifies the QCHRID system value is used to represent the CCSID of the field data for every named field with the CHRID DDS keyword. Conversion will only occur for these specific fields when CCSID of the field data is different than the CHRID of the device.
</dd>
<dt><b>*JOBCCSID</b></dt>
<dd>Specify character conversion occurs when a difference exists between the device CHRID, job CCSID or display file CCSID values. On input, character data is converted from the device CHRID to the job CCSID when necessary. On output, character data is converted from the job CCSID to the device CHRID when necessary. On output, constant character data in the display file is converted from the display file CCSID to the device CHRID when necessary.
<p>
<b>Note: </b>The *JOBCCSID special value, either specified directly on the CHRID command parameter or on the CHRIDCTL job attribute when the *CHRIDCTL special value is specified for the CHRID command parameter, is not allowed if the file was created on a system at an earlier release level than V2R3M0. A file created prior to V2R3M0 will not be tagged with a CCSID and can not be used in combination with the *JOBCCSID support.
</p>
</dd>
<dt><b>*CHRIDCTL</b></dt>
<dd>Specifies that the system checks the CHRIDCTL job attribute to determine whether to use the *JOBCCSID or *DEVD special values on the CHRID command parameter for this display file.
</dd>
</dl>
<p><b>Element 1: Graphic character set</b>
</p>
<dl>
<dt><b><i>integer</i></b></dt>
<dd>Specify the number of the graphic character set to be used. Valid values range from 1 through 32767.
</dd>
</dl>
<p><b>Element 2: Code page</b>
</p>
<dl>
<dt><b><i>integer</i></b></dt>
<dd>Specify the number of the code page to be used. Valid values range from 1 through 32767.
</dd>
</dl>
<p>
<b>Note: </b>The graphic character set and code page specifies the value used to represent the CCSID of the field data for every named field with the CHRID DDS keyword. Conversion will only occur for these specific fields when CCSID of the field data is different than the CHRID of the device.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.DECFMT"></a>
<h3>Decimal format (DECFMT)</h3>
<p>Specifies which decimal format value is used when editing numeric fields with the EDTCDE DDS keyword. The decimal format value determines the use of commas and periods for the decimal position and three digit positional separators on edited fields.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The decimal format value does not change.
</dd>
<dt><b>*FILE</b></dt>
<dd>Use the decimal format value stored with the file when the file was created.
</dd>
<dt><b>*JOB</b></dt>
<dd>Use the decimal format value from the DECFMT job attribute when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.SFLENDTXT"></a>
<h3>SFLEND text (SFLENDTXT)</h3>
<p>Specifies where the 'More...' and 'Bottom' text is retrieved from when displaying a subfile. The 'More...' and 'Bottom' text is displayed in a subfile when the SFLEND(*MORE) DDS keyword is specified on the subfile control record.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The SFLEND text value does not change.
</dd>
<dt><b>*FILE</b></dt>
<dd>Use the 'More...' and 'Bottom' text that is stored in the file during file creation. This text was retrieved from messages CPX6AB1 and CPX6AB2 which exist in the active language of the system when the file was created.
</dd>
<dt><b>*MSG</b></dt>
<dd>Use the 'More...' and 'Bottom' text retrieved from messages CPX6AB1 and CPX6AB2 which exist in the current active language of the system when the file is opened.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.IGCDTA"></a>
<h3>User specified DBCS data (IGCDTA)</h3>
<p>Specifies, for program-described files, whether the file processes double-byte character set (DBCS) data. Specifies, for externally described files, the DBCS attributes of the file.
</p>
<p><b>For program-described files</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>The file does not process double-byte character set (DBCS) data.
</dd>
<dt><b>*YES</b></dt>
<dd>The file processes DBCS data.
</dd>
</dl>
<p><b>For externally-described files</b>
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*NO</b></dt>
<dd>The DBCS attributes of the file are defined in the data description specifications (DDS).
</dd>
<dt><b>*YES</b></dt>
<dd>DBCS attributes, in addition to those defined in the DDS, include (1) putting the DDS keyword IGCALTTYP into effect, and (2) identifying DBCS attributes of fields or messages in the DDS.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.IGCEXNCHR"></a>
<h3>DBCS extension characters (IGCEXNCHR)</h3>
<p>Specifies whether the system processes double-byte character set (DBCS) extended characters. When processing DBCS extended characters, the device requires the assistance of the system. The system must tell the device what the character looks like before the device can display or print the character. Extended characters are stored in a DBCS font table, not in the DBCS device. Extended character processing is a function of the operating system that is required to make characters stored in a DBCS font table available to a DBCS device.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The value does not change.
</dd>
<dt><b>*YES</b></dt>
<dd>The system processes DBCS extended characters.
</dd>
<dt><b>*NO</b></dt>
<dd>The system does not process DBCS extended characters; it displays extended characters as the undefined character.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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 for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be searched.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGDSPF.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 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="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDSPF.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Specifying Multiple Display Devices</b>
</p>
<p>
<pre>
CHGDSPF FILE(ORDENT) DEV(WS1 WS2 WS3) MAXDEV(3)
</pre>
</p>
<p>This command changes the description of the display device file named ORDENT. The file is located through the library list. The devices used with this file are the work stations WS1, WS2, and WS3. All three of the devices can be used at the same time with this display file.
</p>
<p><b>Example 2: Delaying Writing of Data</b>
</p>
<p>
<pre>
CHGDSPF FILE(ACCREC/*ALL) DFRWRT(*YES)
</pre>
</p>
<p>This command changes the description of all display files in library ACCREC to delay writing data until a read request is made.
</p>
<p><b>Example 3: Specifying DBCS Data Processing</b>
</p>
<p>
<pre>
CHGDSPF FILE(IGCLIB/IGCDSP) IGCDTA(*YES)
</pre>
</p>
<p>This command changes the display device file IGCDSP, which is stored in the library IGCLIB, so that it processes double-byte character set data.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGDSPF.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>
<dt><b>CPF7308</b></dt>
<dd>&amp;5 files not changed for &amp;1 in &amp;2. &amp;4 files changed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGDSPF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>