185 lines
5.5 KiB
HTML
185 lines
5.5 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 Image Catalog (DLTIMGCLG)</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="DLTIMGCLG.Top_Of_Page"></a>
|
||
|
<h2>Delete Image Catalog (DLTIMGCLG)</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="#DLTIMGCLG.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DLTIMGCLG.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DLTIMGCLG.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DLTIMGCLG"></a>
|
||
|
<p>The Delete Image Catalog (DLTIMGCLG) command is used to delete an image catalog object (*IMGCLG) from library QUSRSYS and optionally delete the associated image files. The image files are located in the directory that was specified on the Create Image Catalog (CRTIMGCLG) command.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>This command is shipped with public *EXCLUDE authority.
|
||
|
</li>
|
||
|
<li>The following authorities are required to delete an image catalog:
|
||
|
<ol>
|
||
|
<li>Execute (*EXECUTE) authority to library QUSRSYS.
|
||
|
</li>
|
||
|
<li>*OBJEXIST authority to the image catalog.
|
||
|
</li>
|
||
|
<li>Execute (*X) authority to each directory in the image catalog path name.
|
||
|
</li>
|
||
|
</ol>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DLTIMGCLG.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="#DLTIMGCLG.IMGCLG"><b>IMGCLG</b></a></td>
|
||
|
<td valign="top">Image catalog</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTIMGCLG.KEEP"><b>KEEP</b></a></td>
|
||
|
<td valign="top">Keep image files</td>
|
||
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTIMGCLG.DEPIMGCLG"><b>DEPIMGCLG</b></a></td>
|
||
|
<td valign="top">Dependent image catalogs</td>
|
||
|
<td valign="top"><b><u>*NODELETE</u></b>, *DELETE</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DLTIMGCLG.IMGCLG"></a>
|
||
|
<h3>Image catalog (IMGCLG)</h3>
|
||
|
<p>Specifies the image catalog to be deleted.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTIMGCLG.KEEP"></a>
|
||
|
<h3>Keep image files (KEEP)</h3>
|
||
|
<p>Specify whether the image files associated with the image catalog are to be kept.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*YES</u></b></dt>
|
||
|
<dd>Specify that the images associated with the image catalog will not be deleted.
|
||
|
</dd>
|
||
|
<dt><b>*NO</b></dt>
|
||
|
<dd>Specify that the images associated with the image catalog will be deleted from the directory which contains the image files.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTIMGCLG.DEPIMGCLG"></a>
|
||
|
<h3>Dependent image catalogs (DEPIMGCLG)</h3>
|
||
|
<p>Specify whether to delete all dependent image catalogs.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NODELETE</u></b></dt>
|
||
|
<dd>Specify that all dependent catalogs will not be deleted.
|
||
|
</dd>
|
||
|
<dt><b>*DELETE</b></dt>
|
||
|
<dd>Specify that all dependent catalogs will be deleted.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTIMGCLG.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Deleting an Image Catalog</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTIMGCLG IMGCLG(MYCLG)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes image catalog <b>MYCLG</b> from library QUSRSYS and leaves the associated image files.
|
||
|
</p>
|
||
|
<p><b>Example 2: Deleting an Image Catalog with all Dependent Catalogs</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTIMGCLG IMGCLG(MYCLG) KEEP(*NO) DEPIMGCLG(*DELETE)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes image catalog <b>MYCLG</b>, all dependent catalogs, and all associated image files.
|
||
|
</p>
|
||
|
<p><b>Example 3: Deleting an Image Catalog and the Associated Image Files</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTIMGCLG IMGCLG(MYCLG) KEEP(*NO)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes image catalog <b>MYCLG</b> from library QUSRSYS and all associated image files.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTIMGCLG.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPFBC18</b></dt>
|
||
|
<dd>Image catalog &1 not deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPFBC45</b></dt>
|
||
|
<dd>Image catalog &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2105</b></dt>
|
||
|
<dd>Object &1 in &2 type *&3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2182</b></dt>
|
||
|
<dd>Not authorized to library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF2189</b></dt>
|
||
|
<dd>Not authorized to object &1 in &2 type *&3.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTIMGCLG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|