150 lines
5.2 KiB
HTML
150 lines
5.2 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 Library List (CHGLIBL)</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="CHGLIBL.Top_Of_Page"></a>
|
|
<h2>Change Library List (CHGLIBL)</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="#CHGLIBL.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGLIBL.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGLIBL.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGLIBL"></a>
|
|
<p>The Change Library List (CHGLIBL) command changes the user portion of the library list for the current thread with the list of libraries specified by the user. This command does not affect the system portion of the library list, nor does it affect library list for any other thread.
|
|
</p>
|
|
<p><b>Restrictions:</b> You must have use (*USE) authority for all the specified libraries before the library list is changed. If you are not authorized to one or more of the libraries, the library list is not changed.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGLIBL.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="#CHGLIBL.LIBL"><b>LIBL</b></a></td>
|
|
<td valign="top">Libraries for current thread</td>
|
|
<td valign="top">Single values: <b><u>*SAME</u></b>, *NONE<br>Other values (up to 250 repetitions): <i>Name</i></td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#CHGLIBL.CURLIB"><b>CURLIB</b></a></td>
|
|
<td valign="top">Current library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b>, *CRTDFT</td>
|
|
<td valign="top">Optional, Positional 2</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGLIBL.LIBL"></a>
|
|
<h3>Libraries for current thread (LIBL)</h3>
|
|
<p>Specifies the libraries that are placed in the user portion of the library list for the current thread. This parameter can be specified as a single value or as a list of one or more names.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The libraries that are in the user portion of the library list for the current thread are not changed.
|
|
</dd>
|
|
<dt><b>*NONE</b></dt>
|
|
<dd>No libraries are in the user portion of the library list for the current thread.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the names of the libraries to be added to the user portion of the library list for the current thread in the order in which they are to be searched. Up to 250 names can be specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="CHGLIBL.CURLIB"></a>
|
|
<h3>Current library (CURLIB)</h3>
|
|
<p>Specifies the library to replace the current library in the library list for the current thread.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SAME</u></b></dt>
|
|
<dd>The current library in the library list for the current thread is not changed.
|
|
</dd>
|
|
<dt><b>*CRTDFT</b></dt>
|
|
<dd>No library should be in the current entry in the library list for the current thread. If objects are created into the current library, the QGPL library is used as the default current library.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library that replaces the current library entry in the library list for the current thread.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGLIBL.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
CHGLIBL LIBL(ULIB10 ULIB15 QGPL)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes the user portion of the library list for the current thread. The new library list contains libraries ULIB10, ULIB15, and QGPL. They are searched in that order.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGLIBL.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPF2106</b></dt>
|
|
<dd>Library list not available.
|
|
</dd>
|
|
<dt><b>CPF2110</b></dt>
|
|
<dd>Library &1 not found.
|
|
</dd>
|
|
<dt><b>CPF2113</b></dt>
|
|
<dd>Cannot allocate library &1.
|
|
</dd>
|
|
<dt><b>CPF2176</b></dt>
|
|
<dd>Library &1 damaged.
|
|
</dd>
|
|
<dt><b>CPF2182</b></dt>
|
|
<dd>Not authorized to library &1.
|
|
</dd>
|
|
<dt><b>CPF2184</b></dt>
|
|
<dd>Library list not replaced.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGLIBL.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|