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

149 lines
4.8 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 System Library List (CHGSYSLIBL)</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="CHGSYSLIBL.Top_Of_Page"></a>
<h2>Change System Library List (CHGSYSLIBL)</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="#CHGSYSLIBL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CHGSYSLIBL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CHGSYSLIBL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CHGSYSLIBL"></a>
<p>The Change System Library List (CHGSYSLIBL) command changes the system portion of the library list for the current thread. You can specify if the library is added to the beginning of the system portion of the library list, or removed from the system portion of the library list.
</p>
<p><b>Restrictions:</b>
</p>
<ol>
<li>This command is shipped with exclude (*EXCLUDE) public authority. It is shipped authorized only to the security officer or a user with all object (*ALLOBJ) special authority.
</li>
<li>The QSYS library is always in the system portion of the library list and cannot be added to or removed from it.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CHGSYSLIBL.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="#CHGSYSLIBL.LIB"><b>LIB</b></a></td>
<td valign="top">Library</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#CHGSYSLIBL.OPTION"><b>OPTION</b></a></td>
<td valign="top">Option</td>
<td valign="top"><b><u>*ADD</u></b>, *REMOVE</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CHGSYSLIBL.LIB"></a>
<h3>Library (LIB)</h3>
<p>Specifies the library to be added to or removed from the system portion of the library list for the current thread.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library to be added to or removed from the system portion of the library list for the current thread.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CHGSYSLIBL.OPTION"></a>
<h3>Option (OPTION)</h3>
<p>Specifies if the library is added to or removed from the system portion of the library list for the current thread.
</p>
<dl>
<dt><b><u>*ADD</u></b></dt>
<dd>The specified library is added as the first library in the system portion of the library list for the current thread.
</dd>
<dt><b>*REMOVE</b></dt>
<dd>The specified library is removed from the system portion of the library list for the current thread.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGSYSLIBL.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CHGSYSLIBL LIB(PAYROLL) OPTION(*ADD)
</pre>
</p>
<p>This command adds the library PAYROLL to the beginning of the system portion of the library list.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CHGSYSLIBL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2103</b></dt>
<dd>Library &amp;1 already exists in library list.
</dd>
<dt><b>CPF2106</b></dt>
<dd>Library list not available.
</dd>
<dt><b>CPF2110</b></dt>
<dd>Library &amp;1 not found.
</dd>
<dt><b>CPF2113</b></dt>
<dd>Cannot allocate library &amp;1.
</dd>
<dt><b>CPF2118</b></dt>
<dd>Library &amp;1 not added.
</dd>
<dt><b>CPF2128</b></dt>
<dd>Library &amp;1 not in system portion of library list.
</dd>
<dt><b>CPF2176</b></dt>
<dd>Library &amp;1 damaged.
</dd>
<dt><b>CPF2182</b></dt>
<dd>Not authorized to library &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CHGSYSLIBL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>