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

190 lines
5.9 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!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 Document List (DLTDOCL)</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="DLTDOCL.Top_Of_Page"></a>
<h2>Delete Document List (DLTDOCL)</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="#DLTDOCL.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DLTDOCL.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DLTDOCL.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DLTDOCL"></a>
<p>The Delete Document List (DLTDOCL) command allows you to delete a document list from the system. All document lists are stored in library QUSRSYS.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>To delete a document list, you must have object existence (*OBJEXIST) authority for the document list, all object (*ALLOBJ) special authority, or security administrator (*SECADM) special authority.
</li>
<li>To delete a document list for another user, you must have *ALLOBJ or *SECADM special authority.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DLTDOCL.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="#DLTDOCL.DOCL"><b>DOCL</b></a></td>
<td valign="top">Document list</td>
<td valign="top">Single values: *ALL<br>Other values (up to 300 repetitions): <i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top" rowspan="2"><a href="#DLTDOCL.OWNER"><b>OWNER</b></a></td>
<td valign="top">Document list owner</td>
<td valign="top"><i>Element list</i></td>
<td valign="top" rowspan="2">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top">Element 1: User profile</td>
<td valign="top">
<i>Name</i>, <b><u>*CURRENT</u></b>, *ALL</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DLTDOCL.DOCL"></a>
<h3>Document list (DOCL)</h3>
<p>Specifies the document lists that are to be deleted from the system.
</p>
<dl>
<dt><b>*ALL</b></dt>
<dd>All document list objects for the specified owner are deleted.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the document list object that is to be deleted. A maximum of 300 document list objects can be specified.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTDOCL.OWNER"></a>
<h3>Document list owner (OWNER)</h3>
<p>Specifies the owner of the document lists that are to be deleted. This parameter is ignored if a list of document list names is specified on the <b>Document list (DOCL)</b> parameter.
</p>
<dl>
<dt><b><u>*CURRENT</u></b></dt>
<dd>All document lists owned by you are to be deleted.
</dd>
<dt><b>*ALL</b></dt>
<dd>All document lists for all owners are deleted.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the user who owns the document lists that are to be deleted. All document lists owned by this user are deleted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTDOCL.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Deleting Current User's Document Lists</b>
</p>
<p>
<pre>
DLTDOCL DOCL(*ALL) OWNER(*CURRENT)
</pre>
</p>
<p>This command deletes all document lists owned by the current user.
</p>
<p><b>Example 2: Deleting All Users' Document Lists</b>
</p>
<p>
<pre>
DLTDOCL DOCL(*ALL) OWNER(*ALL)
</pre>
</p>
<p>This command deletes all document lists owned by all users.
</p>
<p><b>Example 3: Deleting Document Lists Owned By a Specified User</b>
</p>
<p>
<pre>
DLTDOCL DOCL(*ALL) OWNER(ANN)
</pre>
</p>
<p>This command deletes all document lists owned by ANN.
</p>
<p><b>Example 4: Deleting a Specific Document List Owned By User</b>
</p>
<p>
<pre>
DLTDOCL DOCL(AN8T475237)
</pre>
</p>
<p>This command deletes document list AN8T475237, owned by the user running this command. Displaying the user's owned objects will show the system object name for a specific document list.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTDOCL.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9002</b></dt>
<dd>Not allowed to delete specified document lists.
</dd>
<dt><b>CPF9009</b></dt>
<dd>System requires file &amp;1 in &amp;2 be journaled.
</dd>
<dt><b>CPF9012</b></dt>
<dd>Start of document interchange session not successful for &amp;1.
</dd>
<dt><b>CPF9032</b></dt>
<dd>Document interchange session not started.
</dd>
<dt><b>CPF9051</b></dt>
<dd>&amp;1 document lists deleted; &amp;2 document lists not deleted.
</dd>
<dt><b>CPF9810</b></dt>
<dd>Library &amp;1 not found.
</dd>
<dt><b>CPF9845</b></dt>
<dd>Error occurred while opening file &amp;1.
</dd>
<dt><b>CPF9846</b></dt>
<dd>Error while processing file &amp;1 in library &amp;2.
</dd>
<dt><b>CPF9847</b></dt>
<dd>Error occurred while closing file &amp;1 in library &amp;2.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTDOCL.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>