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

398 lines
16 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>Create C Locale Description (CRTCLD)</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="CRTCLD.Top_Of_Page"></a>
<h2>Create C Locale Description (CRTCLD)</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="#CRTCLD.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTCLD.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTCLD.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTCLD"></a>
<p>The Create C/400* Locale Description (CRTCLD) command creates a locale description object (*CLD) using the source information provided on the SRCFILE and SRCMBR parameters. The locale description source file must exist.
</p>
<p>To change an existing locale, use the Retrieve C Locale Description (RTVCLDSRC) command.
</p>
<h3>Error messages for CRTCLD</h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>PSE1707</b></dt>
<dd>The listing option on the CRTCLD command failed.
</dd>
<dt><b>PSE1708</b></dt>
<dd>Member &amp;3 is not found in the specified file and library.
</dd>
<dt><b>PSE1709</b></dt>
<dd>File &amp;1 is not found in library &amp;2.
</dd>
<dt><b>PSE1739</b></dt>
<dd>The necessary storage could not be allocated.
</dd>
<dt><b>PSE1749</b></dt>
<dd>Compilation failed. Locale object &amp;1 is not created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTCLD.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="#CRTCLD.CLD"><b>CLD</b></a></td>
<td valign="top">Locale name</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Locale name</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>*CURLIB</u></b></td>
</tr><tr>
<td valign="top" rowspan="3"><a href="#CRTCLD.SRCFILE"><b>SRCFILE</b></a></td>
<td valign="top">Source file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Source file</td>
<td valign="top"><i>Name</i>, <b><u>QCLDSRC</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="#CRTCLD.SRCMBR"><b>SRCMBR</b></a></td>
<td valign="top">Source member</td>
<td valign="top"><i>Name</i>, <b><u>*CLD</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLD.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text description</td>
<td valign="top"><i>Character value</i>, <b><u>*SRCMBRTXT</u></b>, *BLANK</td>
<td valign="top">Optional, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLD.OPTION"><b>OPTION</b></a></td>
<td valign="top">Source listing option</td>
<td valign="top"><b><u>*NOSOURCE</u></b>, *SOURCE, *NOSRC, *SRC</td>
<td valign="top">Optional, Positional 5</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLD.LISTING"><b>LISTING</b></a></td>
<td valign="top">Error listing level</td>
<td valign="top"><b><u>*NOSECLVL</u></b>, *SECLVL</td>
<td valign="top">Optional, Positional 6</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#CRTCLD.PRTFILE"><b>PRTFILE</b></a></td>
<td valign="top">Print file</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional, Positional 7</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Print file</td>
<td valign="top"><i>Name</i>, <b><u>QSYSPRT</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="#CRTCLD.REPLACE"><b>REPLACE</b></a></td>
<td valign="top">Replace</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional, Positional 8</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLD.AUT"><b>AUT</b></a></td>
<td valign="top">Authority</td>
<td valign="top"><i>Name</i>, <b><u>*LIBCRTAUT</u></b>, *ALL, *CHANGE, *USE, *EXCLUDE</td>
<td valign="top">Optional, Positional 9</td>
</tr>
<tr>
<td valign="top"><a href="#CRTCLD.TGTRLS"><b>TGTRLS</b></a></td>
<td valign="top">Target Release</td>
<td valign="top"><b><u>*CURRENT</u></b>, *PRV, V3R0M5, V3R1M0, V3R6M0</td>
<td valign="top">Optional, Positional 10</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTCLD.CLD"></a>
<h3>Locale name (CLD)</h3>
<p>Specifies the name and the library of the new C/400 locale description.
</p>
<dl>
<dt><b><i>locale-name</i></b></dt>
<dd>Enter a name for the C/400 locale description.
</dd>
</dl>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*CURLIB</u></b></dt>
<dd>The current library is used to store the locale when CRTCLD is processed. If you have not specified a current library, QGPL is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Enter the name of the library where the C/400 locale description is to be created. The library must already exist.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.SRCFILE"></a>
<h3>Source file (SRCFILE)</h3>
<p>Specifies the source physical file name and library of the C/400 locale description source. Both the source physical file and the library must exist.
</p>
<dl>
<dt><b><u>QCLDSRC</u></b></dt>
<dd>The default name for the source physical file containing the C/400 locale description source to be processed.
</dd>
<dt><b><i>source-file-name</i></b></dt>
<dd>Enter the name of the file containing the C/400 locale description source.
</dd>
</dl>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The library list is searched to find the library containing the source file when CRTCLD is processed.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library is searched for the source file when CRTCLD is processed. If you have not indicated a specific library as your current library, QGPL is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Enter the name of the library containing the C/400 locale description source file.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.SRCMBR"></a>
<h3>Source member (SRCMBR)</h3>
<p>Specifies the member containing the C/400 locale description source. The member is in the file and library specified on the SRCFILE parameter. This member must exist.
</p>
<dl>
<dt><b><u>*CLD</u></b></dt>
<dd>The locale name identified by the CLD parameter is also the name of the member.
</dd>
<dt><b><i>source-file-member-name</i></b></dt>
<dd>Enter the name of the file member that contains the locale description source to be processed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.TEXT"></a>
<h3>Text description (TEXT)</h3>
<p>Enter text that describes the C/400 locale description.
</p>
<dl>
<dt><b><u>*SRCMBRTXT</u></b></dt>
<dd>The text description associated with the locale description source is used.
</dd>
<dt><b>*BLANK</b></dt>
<dd>No text appears.
</dd>
<dt><b><i>'description'</i></b></dt>
<dd>Enter descriptive text no longer than 50 characters, and enclose it in single quotation marks. The quotation marks are not part of the 50 character string.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.OPTION"></a>
<h3>Source listing option (OPTION)</h3>
<p>Specifies the options you want to use when you process the C/400 locale description source.
</p>
<dl>
<dt><b><u>*NOSOURCE or *NOSRC</u></b></dt>
<dd>Does not create a source listing.
</dd>
<dt><b>*SOURCE or *SRC</b></dt>
<dd>Creates a source listing.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.LISTING"></a>
<h3>Error listing level (LISTING)</h3>
<p>Specifies the level of detail of error messages to include in the created source listing.
</p>
<dl>
<dt><b><u>*NOSECLVL</u></b></dt>
<dd>Only the first-level error message text is included in the created source listing.
</dd>
<dt><b>*SECLVL</b></dt>
<dd>Both levels of message text are included in the created source listing. The second level text describes the cause of the error, the possible steps to take to recover, and a technical description of the processing steps taken because of the error.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.PRTFILE"></a>
<h3>Print file (PRTFILE)</h3>
<p>Specifies the name and library of the printer file that will be used to print the source listing.
</p>
<dl>
<dt><b><u>QSYSPRT</u></b></dt>
<dd>The listing is directed to the default printer file QSYSPRT.
</dd>
<dt><b><i>print-file-name</i></b></dt>
<dd>Enter the name of the printer file where you want to direct your source listing. It must be defined to have a minimum record length of 132 characters.
</dd>
</dl>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>The system searches the library list for the printer file.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library is searched for the printer file. If you have not indicated a specific library as your current library, QGPL is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Enter the name of the library where the printer file will be found.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.REPLACE"></a>
<h3>Replace (REPLACE)</h3>
<p>Specifies whether the existing version of the locale description object is to be replaced by the current version.
</p>
<dl>
<dt><b><u>YES</u></b></dt>
<dd>The existing locale description is replaced with the new version. The old version is moved to the library, QRPLOBJ, and renamed based on the system date and time. The text description of the replaced locale description is changed to the name of the original locale description. The old locale description is deleted at the next IPL if you do not explicitly delete it.
</dd>
<dt><b>*NO</b></dt>
<dd>The existing locale description is not replaced. If a locale description with the same name exists in the specified library, a message is displayed and the locale description is not created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.AUT"></a>
<h3>Authority (AUT)</h3>
<p>Specifies the object authority you are granting the users who do not have specific authority to the object, who are not on the authorization list, or whose group has no specific authority to the object.
</p>
<dl>
<dt><b><u>*LIBCRTAUT</u></b></dt>
<dd>The public authority for the object will be taken from the CRTAUT keyword of the target library (the library that will contain the created object). This value will be determined when the object is created. If the CRTAUT value for the library changes after the object is created, the new value will NOT affect any existing objects.
</dd>
<dt><b>*CHANGE</b></dt>
<dd>Provides all data authority and the authority to perform all operations on the object except those limited to the owner or controlled by object authority and object management authority. You can change the object and perform basic functions on it.
</dd>
<dt><b>*USE</b></dt>
<dd>Provides object operational authority and read authority; authority for basic operations on the object such as running a program or reading a file. You are prevented from changing the object.
</dd>
<dt><b>*ALL</b></dt>
<dd>Authority for all operations on the object except those limited to the owner or controlled by authorization list management authority. You can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object, but you cannot transfer its ownership.
</dd>
<dt><b>*EXCLUDE</b></dt>
<dd>You are prevented from accessing the object.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTCLD.TGTRLS"></a>
<h3>Target Release (TGTRLS)</h3>
<p>Specifies the release of the operating system on which you intend to use the object being created.
</p>
<p>
<b>Note: </b>This parameter has no function in the CRTCLD command but is included for consistency with other CL commands for creating objects. A *CLD object created with any of the allowed TGTRLS values can be restored and used with the previous version of the operating system.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>The object is to be used on the release of the operating system currently running on your system. For example, if V3R6M0 is running on the system, *CURRENT means you intend to use the object on a system with V3R6M0 installed. You can also use the object on a system with any later release of the operating system installed.
</dd>
<dt><b>*PRV</b></dt>
<dd>The object is to be used on the previous release of the operating system. For example, if V3R6M0 is running on your system, *PRV means you intend to use the object on a system with V2R3M0 installed. You can also use the object on a system with any later release of the operating system installed.
</dd>
<dt><b><i>release-level</i></b></dt>
<dd>Specify the release in the format VxRxMx, where Vx is the version, Rx is the release, and Mx is the modification level.
<p>The object can be used on a system with the specified release or any later release of the operating system installed.
</p>
<p>Valid values depend on the current version, release, and modification level, and these change with each new release. Press the F4 (Prompt) key from the TGTRLS parameter to see the list of valid values for this release.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTCLD.COMMAND.EXAMPLES">Examples</a></h3>None
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTCLD.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>PSE1707</b></dt>
<dd>The listing option on the CRTCLD command failed.
</dd>
<dt><b>PSE1708</b></dt>
<dd>Member &amp;3 is not found in the specified file and library.
</dd>
<dt><b>PSE1709</b></dt>
<dd>File &amp;1 is not found in library &amp;2.
</dd>
<dt><b>PSE1739</b></dt>
<dd>The necessary storage could not be allocated.
</dd>
<dt><b>PSE1749</b></dt>
<dd>Compilation failed. Locale object &amp;1 is not created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTCLD.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>