125 lines
4.0 KiB
HTML
125 lines
4.0 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 Current Library (CHGCURLIB)</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="CHGCURLIB.Top_Of_Page"></a>
|
|
<h2>Change Current Library (CHGCURLIB)</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="#CHGCURLIB.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#CHGCURLIB.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#CHGCURLIB.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="CHGCURLIB"></a>
|
|
<p>The Change Current Library (CHGCURLIB) command replaces the current library entry in the library list for the current thread.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>If this command is used to change the current library entry in the library list from a menu or program that has a current library associated with it, the current library change is only in effect for the call level of the menu or program from which it was changed.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCURLIB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="CHGCURLIB.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="#CHGCURLIB.CURLIB"><b>CURLIB</b></a></td>
|
|
<td valign="top">Current library</td>
|
|
<td valign="top"><i>Name</i>, *CRTDFT</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCURLIB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="CHGCURLIB.CURLIB"></a>
|
|
<h3>Current library (CURLIB)</h3>
|
|
<p>Specifies the library that replaces the current library entry in the library list for the current thread.
|
|
</p>
|
|
<p>This is a required parameter.
|
|
</p>
|
|
<dl>
|
|
<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="#CHGCURLIB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGCURLIB.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p>
|
|
<pre>
|
|
CHGCURLIB CURLIB(ULIB10)
|
|
</pre>
|
|
</p>
|
|
<p>This command changes the current library entry in the library list for the current thread to library ULIB10.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCURLIB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="CHGCURLIB.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>CPF2133</b></dt>
|
|
<dd>First product library on library list destroyed.
|
|
</dd>
|
|
<dt><b>CPF2134</b></dt>
|
|
<dd>Second product library on library list destroyed.
|
|
</dd>
|
|
<dt><b>CPF2137</b></dt>
|
|
<dd>Current library on library list destroyed.
|
|
</dd>
|
|
<dt><b>CPF2176</b></dt>
|
|
<dd>Library &1 damaged.
|
|
</dd>
|
|
<dt><b>CPF2182</b></dt>
|
|
<dd>Not authorized to library &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#CHGCURLIB.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|