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

219 lines
8.1 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>Reclaim Temporary Storage (RCLTMPSTG)</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="RCLTMPSTG.Top_Of_Page"></a>
<h2>Reclaim Temporary Storage (RCLTMPSTG)</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="#RCLTMPSTG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#RCLTMPSTG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#RCLTMPSTG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="RCLTMPSTG"></a>
<p>The Reclaim Temporary Storage (RCLTMPSTG) command allows you to reclaim storage used by temporarily decompressed copies of panel groups, menus, display files, and printer files, thereby freeing up system storage space.
</p>
<ul>
<li>Compressed Objects are objects that consume less storage space than decompressed objects. When a compressed object is used or a compressed program is called, a decompressed version of the object automatically becomes available to the user.
</li>
<li>Decompressed Objects are objects that use the system storage space allocated to them and are in a final, ready-to-use state.
</li>
<li>Temporarily Decompressed Objects. are temporarily decompressed copies of compressed objects. The system allocates storage space for the decompressed objects, which is consumed by the temporary copies until the system or the user determines that the temporary storage space needs to be reclaimed.
<p>Temporary storage is automatically reclaimed when:
</p>
<ul>
<li>the RCLTMPSTG command is run
</li>
<li>the next IPL is run
</li>
<li>the object is used often enough to cause the system to permanently decompress it
</li>
</ul>
<p>When an object is permanently decompressed, the compressed version of the object is destroyed as well as any temporary forms of the object; however, compressed versions remain intact as long as the objects are temporarily decompressed.
</p>
</li>
</ul>
<p><b>Restrictions:</b>
</p>
<ol>
<li>This command is shipped with public *EXCLUDE authority and the QPGMR, QSYSOPR, QSRV, and QSRVBAS user profiles have private authorities to use the command.
</li>
<li>The user must have object management authority to the object specified and execute authority to the library.
</li>
</ol>
</div>
<table width="100%">
<tr><td align="right"><a href="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="RCLTMPSTG.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="#RCLTMPSTG.LIB"><b>LIB</b></a></td>
<td valign="top">Library</td>
<td valign="top"><i>Name</i>, <b><u>*ALL</u></b>, *ALLUSR, *CURLIB, *LIBL, *USRLIBL</td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#RCLTMPSTG.DAYS"><b>DAYS</b></a></td>
<td valign="top">Days unused</td>
<td valign="top">1-366, <b><u>7</u></b>, *NONE</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="RCLTMPSTG.LIB"></a>
<h3>Library (LIB)</h3>
<p>Specifies the name of the library from which storage is reclaimed. All temporarily decompressed objects that are in the library you specify on this parameter and that have not been used for more than the number of days you specify on the <b>Days unused</b> prompt (DAYS parameter) are reclaimed.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All libraries in the system, including QSYS, are searched.
</dd>
</dl>
<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>*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>*CURLIB</b></dt>
<dd>Only the current library is searched. If no current library entry exists in the library list, QGPL is used.
</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><i>library-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="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="RCLTMPSTG.DAYS"></a>
<h3>Days unused (DAYS)</h3>
<p>Specifies the number of days an object has not been used or changed. If a temporarily decompressed object has not been used or changed for more than the specified number of days, it is reclaimed. If it has been used or changed, it is left temporarily decompressed.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>7</u></b></dt>
<dd>Objects that have not been used or changed for more than seven days are reclaimed.
</dd>
<dt><b>*NONE</b></dt>
<dd>The object is reclaimed regardless of the number of days it has not been used or changed.
</dd>
<dt><b><i>days-unused</i></b></dt>
<dd>Specify the number of days. Valid values range from 1 through 366.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RCLTMPSTG.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
RCLTMPSTG LIB(QGPL)
</pre>
</p>
<p>This command reclaims the space consumed by all of the temporarily decompressed copies of objects in library QGPL that have not been used or changed in the last 7 days.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="RCLTMPSTG.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<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>CPF2176</b></dt>
<dd>Library &amp;1 damaged.
</dd>
<dt><b>CPF3B07</b></dt>
<dd>&amp;1KB storage reclaimed, &amp;5 objects not processed.
</dd>
<dt><b>CPF9838</b></dt>
<dd>User profile storage limit exceeded.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#RCLTMPSTG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>