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

335 lines
11 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>Decompress Object (DCPOBJ)</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="DCPOBJ.Top_Of_Page"></a>
<h2>Decompress Object (DCPOBJ)</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="#DCPOBJ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DCPOBJ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DCPOBJ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DCPOBJ"></a>
<p>The Decompress Object (DCPOBJ) command allows you to permanently decompress programs, panel groups, menus, display files, printer files, modules, and service programs.
</p>
<ul>
<li>Compressed objects use 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 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>Restriction:</b> The user must have *USE authority to the objects specified on the command and execute authority to the library containing the objects.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DCPOBJ.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="#DCPOBJ.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="#DCPOBJ.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="#DCPOBJ.PGMOPT"><b>PGMOPT</b></a></td>
<td valign="top">Program option</td>
<td valign="top"><b><u>*ALL</u></b>, *INS</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DCPOBJ.OBJ"></a>
<h3>Object (OBJ)</h3>
<p>Specifies the name and library of the object to be decompressed.
</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 decompressed.
</dd>
<dt><b><i>generic*-object-name</i></b></dt>
<dd>Specify the generic name of the object to be decompressed. 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 decompressed.
</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="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DCPOBJ.OBJTYPE"></a>
<h3>Object type (OBJTYPE)</h3>
<p>Specifies the type of object to be decompressed. 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>The possible values are:
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All compressed 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 decompressed.
</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 decompressed.
</dd>
<dt><b>*MENU</b></dt>
<dd>Menus with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are decompressed.
</dd>
<dt><b>*MODULE</b></dt>
<dd>Modules with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are decompressed.
</dd>
<dt><b>*PGM</b></dt>
<dd>Programs with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are decompressed.
</dd>
<dt><b>*PNLGRP</b></dt>
<dd>Panel groups with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are decompressed.
</dd>
<dt><b>*SRVPGM</b></dt>
<dd>Service programs with the name and library specified on the <b>Object</b> prompt (OBJ parameter) are decompressed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DCPOBJ.PGMOPT"></a>
<h3>Program option (PGMOPT)</h3>
<p>Specifies whether the entire program or service program or only the instruction stream is decompressed. This parameter is valid only when *PGM, *SRVPGM, or *ALL is specified on the <b>Object type</b> prompt (OBJTYPE parameter).
</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 decompressed.
</dd>
<dt><b>*INS</b></dt>
<dd>Only the instruction stream of the program or service program is decompressed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DCPOBJ.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DCPOBJ OBJ(QGPL/*ALL) OBJTYPE(*FILE)
</pre>
</p>
<p>This command decompresses all compressed display and printer files in library QGPL.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DCPOBJ.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>CPF3B01</b></dt>
<dd>Cannot compress or decompress object &amp;1 in &amp;2.
</dd>
<dt><b>CPF3B02</b></dt>
<dd>Cannot compress or decompress file &amp;1 in &amp;2.
</dd>
<dt><b>CPF3B05</b></dt>
<dd>No objects decompressed.
</dd>
<dt><b>CPF3B06</b></dt>
<dd>&amp;1 objects decompressed; &amp;3 not decompressed; &amp;8 not included.
</dd>
<dt><b>CPF3B08</b></dt>
<dd>Cannot allocate object &amp;1 in &amp;2.
</dd>
<dt><b>CPF8108</b></dt>
<dd>Device file or save file &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF812E</b></dt>
<dd>Module &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF8129</b></dt>
<dd>Program &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF813D</b></dt>
<dd>Service program &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF8150</b></dt>
<dd>Panel group &amp;4 in &amp;9 damaged.
</dd>
<dt><b>CPF8151</b></dt>
<dd>Menu &amp;4 in &amp;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 &amp;2 in &amp;3.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9804</b></dt>
<dd>Object &amp;2 in library &amp;3 damaged.
</dd>
<dt><b>CPF9806</b></dt>
<dd>Cannot perform function for object &amp;2 in library &amp;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 &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9812</b></dt>
<dd>File &amp;1 in library &amp;2 not found.
</dd>
<dt><b>CPF9821</b></dt>
<dd>Not authorized to program &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9822</b></dt>
<dd>Not authorized to file &amp;1 in library &amp;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="#DCPOBJ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>