388 lines
13 KiB
HTML
388 lines
13 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>Compress Object (CPROBJ)</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="CPROBJ.Top_Of_Page"></a>
|
||
|
<h2>Compress Object (CPROBJ)</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="#CPROBJ.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CPROBJ.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CPROBJ.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CPROBJ"></a>
|
||
|
<p>The Compress Object (CPROBJ) command allows you to compress programs, panel groups, menus, display files, printer files, modules, and service programs.
|
||
|
</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 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 initial program load (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>The user must have *OBJMGT authority to the object specified and *EXECUTE authority to the library containing the object.
|
||
|
</li>
|
||
|
<li>Objects that were saved with storage freed cannot be compressed or decompressed.
|
||
|
</li>
|
||
|
<li>Objects that are compressed cannot be saved for a release prior to Version 2, Release 1 of the operating system.
|
||
|
</li>
|
||
|
<li>Programs without a valid validation value are not compressed.
|
||
|
</li>
|
||
|
<li>Programs that were created before Version 1, Release 3 of the operating system and have not been retranslated (using the Change Program (CHGPGM) command) can not be compressed because no validation value has been generated.
|
||
|
</li>
|
||
|
<li>A program, service program, or module that was created prior to Version 3, Release 6 of the operating system must be retranslated before the object can be compressed. Retranslate the object using the CHGPGM, CHGSRVPGM, or CHGMOD commands.
|
||
|
</li>
|
||
|
<li>To compress a system program, the user must end all active subsystems.
|
||
|
</li>
|
||
|
<li>To prevent abnormal end of a program, the program must not be running in the system when it is compressed.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CPROBJ.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="#CPROBJ.OBJ"><b>OBJ</b></a></td>
|
||
|
<td valign="top">Object</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: Object</td>
|
||
|
<td valign="top"><i>Generic name, name</i>, *ALL</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *ALL, *ALLUSR, *USRLIBL</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#CPROBJ.OBJTYPE"><b>OBJTYPE</b></a></td>
|
||
|
<td valign="top">Object type</td>
|
||
|
<td valign="top">Values (up to 6 repetitions): *ALL, *FILE, *MENU, *MODULE, *PGM, *PNLGRP, *SRVPGM</td>
|
||
|
<td valign="top">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CPROBJ.DAYS"><b>DAYS</b></a></td>
|
||
|
<td valign="top">Days unused</td>
|
||
|
<td valign="top">1-366, <b><u>*NONE</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CPROBJ.PGMOPT"><b>PGMOPT</b></a></td>
|
||
|
<td valign="top">Program option</td>
|
||
|
<td valign="top"><b><u>*ALL</u></b>, *OBS</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CPROBJ.OBJ"></a>
|
||
|
<h3>Object (OBJ)</h3>
|
||
|
<p>Specifies the name and library of the object to be compressed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All objects in the specified library of the object type specified on the <b>Object type</b> prompt (OBJTYPE parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b><i>generic*-object-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the object to be compressed. A generic name is a character string that contains one or more characters followed by an asterisk (*).
|
||
|
</dd>
|
||
|
<dt><b><i>object-name</i></b></dt>
|
||
|
<dd>Specify the name of the object to be compressed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<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>*ALL</b></dt>
|
||
|
<dd>All libraries in the system, including QSYS, are searched.
|
||
|
</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="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CPROBJ.OBJTYPE"></a>
|
||
|
<h3>Object type (OBJTYPE)</h3>
|
||
|
<p>Specifies the type of object to be compressed. You can specify *ALL, or you can specify one or more of the other possible values.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p>You can enter multiple values for this parameter.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All menus, panel groups, display and printer device files, programs, modules, and service programs with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*FILE</b></dt>
|
||
|
<dd>Display and printer device files with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*MENU</b></dt>
|
||
|
<dd>Menus with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*MODULE</b></dt>
|
||
|
<dd>Modules with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*PNLGRP</b></dt>
|
||
|
<dd>Panel groups with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*PGM</b></dt>
|
||
|
<dd>Programs with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
<dt><b>*SRVPGM</b></dt>
|
||
|
<dd>Service programs with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are compressed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CPROBJ.DAYS"></a>
|
||
|
<h3>Days unused (DAYS)</h3>
|
||
|
<p>Specifies the number of days the object has not been used or changed. If the object has not been used or changed for more than the specified number of days, it is compressed. If it has been used or changed, it is left decompressed.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>The object is compressed regardless of the number of days it has not been used or changed.
|
||
|
</dd>
|
||
|
<dt><b><i>1-366</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="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CPROBJ.PGMOPT"></a>
|
||
|
<h3>Program option (PGMOPT)</h3>
|
||
|
<p>Specifies whether the entire program or service program or only the observability tables are compressed.
|
||
|
</p>
|
||
|
<p>The possible values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>The entire program or service program (instruction stream and observability tables) is compressed.
|
||
|
</dd>
|
||
|
<dt><b>*OBS</b></dt>
|
||
|
<dd>Only the observability tables are compressed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CPROBJ.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CPROBJ OBJ(QGPL/*ALL) OBJTYPE(*FILE)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command compresses all display and printer files in library QGPL.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CPROBJ.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<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>CPF3B01</b></dt>
|
||
|
<dd>Cannot compress or decompress object &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B02</b></dt>
|
||
|
<dd>Cannot compress or decompress file &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B03</b></dt>
|
||
|
<dd>No objects compressed.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B04</b></dt>
|
||
|
<dd>&1 objects compressed; &3 not compressed; &8 not included.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B08</b></dt>
|
||
|
<dd>Cannot allocate object &1 in &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B09</b></dt>
|
||
|
<dd>Not all subsystems ended.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B10</b></dt>
|
||
|
<dd>Cannot compress object &1 in &2 type *&3.
|
||
|
</dd>
|
||
|
<dt><b>CPF3B11</b></dt>
|
||
|
<dd>Cannot compress object &1 in &2 type *&3.
|
||
|
</dd>
|
||
|
<dt><b>CPF8108</b></dt>
|
||
|
<dd>Device file or save file &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF812E</b></dt>
|
||
|
<dd>Module &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF8129</b></dt>
|
||
|
<dd>Program &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF813D</b></dt>
|
||
|
<dd>Service program &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF8150</b></dt>
|
||
|
<dd>Panel group &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF8151</b></dt>
|
||
|
<dd>Menu &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF9570</b></dt>
|
||
|
<dd>Error occurred creating or accessing debug data.
|
||
|
</dd>
|
||
|
<dt><b>CPF9802</b></dt>
|
||
|
<dd>Not authorized to object &2 in &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9803</b></dt>
|
||
|
<dd>Cannot allocate object &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9804</b></dt>
|
||
|
<dd>Object &2 in library &3 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF9806</b></dt>
|
||
|
<dd>Cannot perform function for object &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9807</b></dt>
|
||
|
<dd>One or more libraries in library list deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF9808</b></dt>
|
||
|
<dd>Cannot allocate one or more libraries on library list.
|
||
|
</dd>
|
||
|
<dt><b>CPF9811</b></dt>
|
||
|
<dd>Program &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9812</b></dt>
|
||
|
<dd>File &1 in library &2 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9821</b></dt>
|
||
|
<dd>Not authorized to program &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9822</b></dt>
|
||
|
<dd>Not authorized to file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9838</b></dt>
|
||
|
<dd>User profile storage limit exceeded.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CPROBJ.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|