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

201 lines
7.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>Delete Print Descriptor Group (DLTPDG)</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="DLTPDG.Top_Of_Page"></a>
<h2>Delete Print Descriptor Group (DLTPDG)</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="#DLTPDG.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DLTPDG.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DLTPDG.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DLTPDG"></a>
<p>The Delete Print Descriptor Group (CRTPDG) command deletes an object of type *PDG which contains information about a print descriptor group and where any associated print descriptor names are stored.
</p>
<p><b>Restriction:</b>
</p>
<p>You must have *OBJEXIST authority to the print descriptor group (PDG).
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTPDG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DLTPDG.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="#DLTPDG.PDG"><b>PDG</b></a></td>
<td valign="top">Print descriptor group</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: Print descriptor group</td>
<td valign="top"><i>Generic name, name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *USRLIBL, *ALL, *ALLUSR</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#DLTPDG.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DLTPDG.PDG"></a>
<h3>Print descriptor group (PDG)</h3>
<p>Specifies the name and library of the print descriptor group (PDG) to be deleted.
</p>
<p>The possible PDG values are:
</p>
<dl>
<dt><b><i>print-descriptor-group-name</i></b></dt>
<dd>Specify the name of the PDG to delete.
</dd>
<dt><b><i>generic*-print-descriptor-group-name</i></b></dt>
<dd>Specify the generic name of the PDG to delete. All PDGs that match the generic pattern are deleted.
</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>*CURLIB</b></dt>
<dd>The current library for the job is searched. If no library is specified as the current library for the job, QGPL is used.
</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>*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>*ALL</b></dt>
<dd>All libraries in the system, including QSYS, are searched.
</dd>
</dl>
<p>The possible values are:
</p>
<dl>
<dt><b><i>print-descriptor-group-name</i></b></dt>
<dd>Specify the name of the print descriptor group to be deleted.
</dd>
<dt><b><i>generic*-name</i></b></dt>
<dd>Specify the generic name of the print descriptor group being deleted. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all print descriptor groups with names that begin with the generic name, and for which the user has authority, are shown. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete print descriptor group name. For more information on the use of generic names, refer to the CL concepts and reference topic in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter book.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTPDG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTPDG.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DLTPDG PDG(P3820*)
</pre>
</p>
<p>This command deletes all print descriptor groups that start with P3820*.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTPDG.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTPDG.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2105</b></dt>
<dd>Object &amp;1 in &amp;2 type *&amp;3 not found.
</dd>
<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>CPF2114</b></dt>
<dd>Cannot allocate object &amp;1 in &amp;2 type *&amp;3.
</dd>
<dt><b>CPF2117</b></dt>
<dd>&amp;4 objects type *&amp;3 deleted. &amp;5 objects not deleted.
</dd>
<dt><b>CPF2125</b></dt>
<dd>No objects deleted.
</dd>
<dt><b>CPF2176</b></dt>
<dd>Library &amp;1 damaged.
</dd>
<dt><b>CPF2182</b></dt>
<dd>Not authorized to library &amp;1.
</dd>
<dt><b>CPF2189</b></dt>
<dd>Not authorized to object &amp;1 in &amp;2 type *&amp;3.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTPDG.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>