522 lines
21 KiB
HTML
522 lines
21 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 Document Library Object (DLTDLO)</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="DLTDLO.Top_Of_Page"></a>
|
||
|
<h2>Delete Document Library Object (DLTDLO)</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="#DLTDLO.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DLTDLO.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DLTDLO.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DLTDLO"></a>
|
||
|
<p>The Delete Document Library Object (DLTDLO) command allows you to delete a document or a folder.
|
||
|
</p>
|
||
|
<p>This command is used to delete documents and folders that are no longer needed from the system, which prevents system storage from being used for obsolete objects.
|
||
|
</p>
|
||
|
<p>
|
||
|
<b>Note: </b>When a document is deleted, a request is generated to remove its entry (if it exists) from the text index.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>To delete a document or folder, you must have all (*ALL) authority for the document or folder, all object (*ALLOBJ), or security administrator (*SECADM) special authority.
|
||
|
</li>
|
||
|
<li>You must have *ALLOBJ or *SECADM special authority to delete all documents or folders or to specify an owner other than yourself.
|
||
|
</li>
|
||
|
<li>Once you press the Enter key, the specified document or folder is deleted; there is no prompting before the document or folder is deleted.
|
||
|
</li>
|
||
|
<li>If the document or folder is in use, the document or folder is not deleted.
|
||
|
</li>
|
||
|
<li>When more than one document or folder is specified for deletion but one of the documents or folders cannot be deleted because it is in use, or you are not authorized to it, a message is sent, and the function continues to delete those documents or folders that remain in the list.
|
||
|
</li>
|
||
|
<li>If a folder and all documents and folders within it are being deleted, any document or folder that cannot be deleted from the folder remains, but all others are deleted. A message is sent concerning those documents and folders that cannot be deleted.
|
||
|
</li>
|
||
|
<li>While using this command, you may encounter an error message indicating that internal objects are locked. Another user is using document library functions which cannot run at the same time as the DLTDLO command; therefore, retry this command in a few minutes.
|
||
|
</li>
|
||
|
<li>An ASP value of *ANY can be specified only when DLO(*ALL) FLR(*ANY) or DLO(*SEARCH) FLR(*ANY) is specified.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DLTDLO.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="#DLTDLO.DLO"><b>DLO</b></a></td>
|
||
|
<td valign="top">Document library object</td>
|
||
|
<td valign="top">Single values: *SEARCH, *ALL, *SYSOBJNAM<br>Other values (up to 300 repetitions): <i>Character value</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.FLR"><b>FLR</b></a></td>
|
||
|
<td valign="top">In folder</td>
|
||
|
<td valign="top"><i>Character value</i>, *ANY, <b><u>*NONE</u></b></td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="7"><a href="#DLTDLO.CRTDATE"><b>CRTDATE</b></a></td>
|
||
|
<td valign="top">Creation period</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="7">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Starting time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Starting time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Starting date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*CURRENT</u></b>, *BEGIN</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Ending time and date</td>
|
||
|
<td valign="top">
|
||
|
<i>Element list</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 1: Ending time</td>
|
||
|
<td valign="top">
|
||
|
<i>Time</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" style="padding-left:10pt">Element 2: Ending date</td>
|
||
|
<td valign="top">
|
||
|
<i>Date</i>, <b><u>*END</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.CHKEXP"><b>CHKEXP</b></a></td>
|
||
|
<td valign="top">Expiration date</td>
|
||
|
<td valign="top"><i>Date</i>, <b><u>*NO</u></b>, *CURRENT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.DOCCLS"><b>DOCCLS</b></a></td>
|
||
|
<td valign="top">Document class</td>
|
||
|
<td valign="top"><i>Character value</i>, <b><u>*ANY</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.OWNER"><b>OWNER</b></a></td>
|
||
|
<td valign="top">Owner profile</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b>, *ALL</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.SYSOBJNAM"><b>SYSOBJNAM</b></a></td>
|
||
|
<td valign="top">System object name</td>
|
||
|
<td valign="top">Values (up to 300 repetitions): <i>Name</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#DLTDLO.CMDCHRID"><b>CMDCHRID</b></a></td>
|
||
|
<td valign="top">Command character identifier</td>
|
||
|
<td valign="top">Single values: <b><u>*SYSVAL</u></b>, *DEVD<br>Other values: <i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: Graphic character set</td>
|
||
|
<td valign="top">
|
||
|
<i>Integer</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: Code page</td>
|
||
|
<td valign="top">
|
||
|
<i>Integer</i></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DLTDLO.ASP"><b>ASP</b></a></td>
|
||
|
<td valign="top">Auxiliary storage pool ID</td>
|
||
|
<td valign="top">1-32, <b><u>*ANY</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DLTDLO.DLO"></a>
|
||
|
<h3>Document library object (DLO)</h3>
|
||
|
<p>Specifies the documents or folders that are deleted. If DLO(*SEARCH) is not specified, CRTDATE, CHKEXP, DOCCLS, CMDCHRID, and OWNER cannot be specified.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All documents or folders currently filed in the folder specified on the <b>In folder (FLR)</b> parameter are deleted.
|
||
|
</dd>
|
||
|
<dt><b>*SEARCH</b></dt>
|
||
|
<dd>All documents and folders that meet the specified search values are deleted. Search values are specified using the following parameters. When more than one parameter is specified, the "AND" relationship is used to combine them:
|
||
|
<ul>
|
||
|
<li><b>In folder (FLR)</b> parameter
|
||
|
</li>
|
||
|
<li><b>Creation period (CRTDATE)</b> parameter
|
||
|
</li>
|
||
|
<li><b>Expiration date (CHKEXP)</b> parameter
|
||
|
</li>
|
||
|
<li><b>Document class (DOCCLS)</b> parameter
|
||
|
</li>
|
||
|
<li><b>Owner profile (OWNER)</b> parameter
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>When *SEARCH is specified, the search is performed by examining the document details.
|
||
|
</p>
|
||
|
</dd>
|
||
|
<dt><b>*SYSOBJNAM</b></dt>
|
||
|
<dd>The system object names for the documents or folders specified on the <b>System object name (SYSOBJNAM)</b> parameter are used.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify one or more document or folder names of specific documents or folders that are deleted. A maximum of 300 documents or folders can be specified.
|
||
|
<p>
|
||
|
<b>Note: </b>To delete a folder and all documents and folders within it, specify *ALL on the <b>Document library object (DLO)</b> parameter and the folder name using the <b>In folder (FLR)</b> parameter. Otherwise, if a folder name is specified on the <b>Document library object (DLO)</b> parameter, the folder must be empty to be deleted.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.FLR"></a>
|
||
|
<h3>In folder (FLR)</h3>
|
||
|
<p>Specifies the folder that contains the documents or folders. If the document or folder does not exist in a folder, *NONE is specified.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NONE</u></b></dt>
|
||
|
<dd>The document or folder is not contained in a folder. The *SEARCH and *ALL values on the <b>Document library object (DLO)</b> parameter apply only to documents and folders not contained in folder.
|
||
|
</dd>
|
||
|
<dt><b>*ANY</b></dt>
|
||
|
<dd>A system-wide search takes place. The *SEARCH and *ALL values on the <b>Document library object (DLO)</b> parameter apply to all documents and folders, including those which are not contained in any folder.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the folder name that contains the documents or folders.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.CRTDATE"></a>
|
||
|
<h3>Creation period (CRTDATE)</h3>
|
||
|
<p>Specifies that documents and folders created during the time period specified are deleted. If this parameter is specified, *SEARCH must be specified on the <b>Document library object (DLO)</b> parameter.
|
||
|
</p>
|
||
|
<p><b>Element 1: Starting time</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>Documents and folders created at any time are deleted.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify a time. Only those documents and folders created at or after the specified time on the starting date are deleted. The time can be specified with or without a time separator:
|
||
|
<ul>
|
||
|
<li>Without a time separator, specify a string of 4 or 6 digits (hhmm or hhmmss) where hh = hours, mm = minutes, and ss = seconds.
|
||
|
</li>
|
||
|
<li>With a time separator, specify a string of 5 or 8 digits where the time separator specified for your job is used to separate the hours, minutes, and seconds. If you enter this command from the command line, the string must be enclosed in apostrophes. If a time separator other than the separator specified for your job is used, this command will fail.
|
||
|
</li>
|
||
|
<li>Specify 0 for the seconds value as the seconds are not used in the selection process.
|
||
|
</li>
|
||
|
</ul>
|
||
|
<p>When the start-time is used as a search value, the start-date must not be *BEGIN.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: Starting date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>Only those documents and folders created on the day you enter this command, and after the starting time (if specified), are deleted.
|
||
|
</dd>
|
||
|
<dt><b>*BEGIN</b></dt>
|
||
|
<dd>Documents and folders created on any specified date are deleted. (The starting date and time is ignored.)
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify a date. Only those documents and folders created on or after the date specified are deleted. The date must be specified in the job date format.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 3: Ending time</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>Documents and folders created at any time are deleted.
|
||
|
</dd>
|
||
|
<dt><b><i>time</i></b></dt>
|
||
|
<dd>Specify a time. Only those documents and folders created at or before the specified time on the ending date are deleted. See the <b>start-time</b> on this parameter for details about how time must be specified. When the end-time is used as search values, the end-date must not be *END.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 4: Ending date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*END</u></b></dt>
|
||
|
<dd>Documents and folders created on any date are deleted. The ending time is ignored when *END is specified.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify a date. Only documents and folders created on or before this date are deleted. The date must be specified in the job date format.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.CHKEXP"></a>
|
||
|
<h3>Expiration date (CHKEXP)</h3>
|
||
|
<p>Specifies the expiration date of the documents being deleted. The expiration date is assigned to specify when a document is no longer needed. A document with an expiration date (as specified by the user on the Change Document Details display) earlier than the date specified is deleted. If this parameter is specified, *SEARCH must also be specified on the <b>Document library object (DLO)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>The expiration date for the document is ignored.
|
||
|
</dd>
|
||
|
<dt><b>*CURRENT</b></dt>
|
||
|
<dd>Only documents with an expiration date earlier than today's date are deleted.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>Specify a date. Only documents with an expiration date earlier than the date specified are deleted.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.DOCCLS"></a>
|
||
|
<h3>Document class (DOCCLS)</h3>
|
||
|
<p>Specifies the class of documents that are deleted. If this parameter is specified, *SEARCH must also be specified on the <b>Document library object (DLO)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ANY</u></b></dt>
|
||
|
<dd>Documents are deleted without regard to the document's class.
|
||
|
</dd>
|
||
|
<dt><b><i>class</i></b></dt>
|
||
|
<dd>Specify a character string, ranging from 1 through 16 characters in length. Only documents of the specified class are to be deleted. For comparison, the document class specified and the document class of all documents are converted to uppercase.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.OWNER"></a>
|
||
|
<h3>Owner profile (OWNER)</h3>
|
||
|
<p>Specifies the owner of the documents and folders that are deleted. If this parameter is specified, *SEARCH must also be specified on the <b>Document library object (DLO)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>Only documents or folders owned by you are deleted.
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>Document and folders are deleted without regard to the object's owner. The user must have all object (*ALLOBJ) or security administrator (*SECADM) special authority to specify *ALL.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of a user. Only documents or folders owned by the specified user are deleted. You must have *ALLOBJ or *SECADM special authority to specify an owner other than yourself.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.SYSOBJNAM"></a>
|
||
|
<h3>System object name (SYSOBJNAM)</h3>
|
||
|
<p>Specifies the system object names of the document library objects that are deleted. A maximum of 300 system objects can be specified. System object names can be specified only if *SYSOBJNAM is specified on the <b>Document library object (DLO)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify one or more system object names that are deleted.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.CMDCHRID"></a>
|
||
|
<h3>Command character identifier (CMDCHRID)</h3>
|
||
|
<p>Specifies the character identifier (graphic character set and code page) for the data being entered as command parameter values (applies to the <b>Document class (DOCCLS)</b> parameter. The character identifier is related to the display device that was used to enter the command.
|
||
|
</p>
|
||
|
<dl>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b><u>*SYSVAL</u></b></dt>
|
||
|
<dd>The system determines the graphic character set and code page values for the command parameters from the QCHRID system value.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*DEVD</b></dt>
|
||
|
<dd>The system determines the graphic character set and code page values for the command parameter from the display device description where this command is entered. This option is valid only when specified from an interactive job. If this value is specified in an interactive CL program or a batch job, an error message is sent.
|
||
|
</dd>
|
||
|
<dt><b><i>graphic-character-set-code-page</i></b></dt>
|
||
|
<dd>Specify the graphic character set and code page values that are used to create the command parameter. Each value can be up to 3 digits in length.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DLTDLO.ASP"></a>
|
||
|
<h3>Auxiliary storage pool ID (ASP)</h3>
|
||
|
<p>Specifies the identifier (ID) of the auxiliary storage pool (ASP) of the document library object to be deleted. A value other than *ANY can be specified on this parameter only if *ALL or *SEARCH is specified on the DLO parameter and *ANY is specified on the FLR parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ANY</u></b></dt>
|
||
|
<dd>Document library objects on the system are deleted without regard to the object's ASP.
|
||
|
</dd>
|
||
|
<dt><b><i>1-32</i></b></dt>
|
||
|
<dd>Only the document library objects that reside in the specified ASP are to be deleted. All document library objects in other ASPs are ignored. The value must designate an existing ASP that contains document library objects. ASP 1 is the system ASP.
|
||
|
<p>
|
||
|
<b>Note: </b>This option is provided to aid in recovery from damage to a user ASP, particularly one that has overflowed. The document library objects and their details are deleted from the damaged ASP (after the necessary data recovery actions are taken for the ASP), thereby removing overflowed objects and potentially damaged objects from the ASP prior to restoring from backup media. More information on document library objects in ASPs is in the Backup and Recovery book, SC41-5304.
|
||
|
</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTDLO.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Deleting a Folder</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(ABC)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes folder ABC if it contains no documents or folders.
|
||
|
</p>
|
||
|
<p><b>Example 2: Deleting All Documents and Folders Within a Folder</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(*ALL) FLR(ABC)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes all the documents and folders that the user is authorized to delete from folder ABC. If folder ABC turns out to be empty, then it is also deleted.
|
||
|
</p>
|
||
|
<p><b>Example 3: Deleting All Documents in a Document Class, Using *SECADM Special Authority</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(*SEARCH)
|
||
|
CRTDATE((*AVAIL 080187) (*AVAIL 083187))
|
||
|
DOCCLS(LETTERS) OWNER(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes all documents in document class LETTERS that were filed in the system during August 1987. Only the security officer or a user with *SECADM special authority is allowed to specify OWNER(*ALL).
|
||
|
</p>
|
||
|
<p><b>Example 4: Deleting Current User's Documents</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(*SEARCH) CRTDATE((*AVAIL *BEGIN) (*AVAIL *END))
|
||
|
DOCCLS(*ANY) OWNER(*CURRENT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes all documents belonging to the current user.
|
||
|
</p>
|
||
|
<p><b>Example 5: Deleting User's Documents Filed Today</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(*SEARCH)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes all documents belonging to the specified user that were filed on that day.
|
||
|
</p>
|
||
|
<p><b>Example 6: Deleting Documents and Folders With Document Descriptors</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DLTDLO DLO(*SEARCH) CRTDATE((*AVAIL *BEGIN) (*AVAIL *END))
|
||
|
DOCCLS(*ANY) OWNER(*ALL)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command deletes all documents and folders with document descriptors from the system. If the document descriptors are not synchronized with the document and folder objects, then they are the same as DLO(*ALL). The Backup, Recovery, and Availability topic in the Information Center has more information about synchronizing document descriptors.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DLTDLO.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF2204</b></dt>
|
||
|
<dd>User profile &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF8A16</b></dt>
|
||
|
<dd>Document library objects not deleted. &1 objects deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF9005</b></dt>
|
||
|
<dd>System resource required to complete this request not available.
|
||
|
</dd>
|
||
|
<dt><b>CPF9006</b></dt>
|
||
|
<dd>User not enrolled in system distribution directory.
|
||
|
</dd>
|
||
|
<dt><b>CPF9012</b></dt>
|
||
|
<dd>Start of document interchange session not successful for &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9029</b></dt>
|
||
|
<dd>Not allowed to specify owner profile &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF903A</b></dt>
|
||
|
<dd>Document or folder activity not stopped, requested operation cannot be done.
|
||
|
</dd>
|
||
|
<dt><b>CPF9031</b></dt>
|
||
|
<dd>No authority to specify DLO(*ALL).
|
||
|
</dd>
|
||
|
<dt><b>CPF9032</b></dt>
|
||
|
<dd>Document interchange session not started.
|
||
|
</dd>
|
||
|
<dt><b>CPF9046</b></dt>
|
||
|
<dd>No documents found satisfying search specification in folder &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9062</b></dt>
|
||
|
<dd>Date must be specified when time not *AVAIL.
|
||
|
</dd>
|
||
|
<dt><b>CPF9063</b></dt>
|
||
|
<dd>Starting and ending CRTDATE specified in reverse order.
|
||
|
</dd>
|
||
|
<dt><b>CPF9096</b></dt>
|
||
|
<dd>Cannot use CMDCHRID(*DEVD), DOCCHRID(*DEVD) in batch job.
|
||
|
</dd>
|
||
|
<dt><b>CPF9845</b></dt>
|
||
|
<dd>Error occurred while opening file &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9846</b></dt>
|
||
|
<dd>Error while processing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9847</b></dt>
|
||
|
<dd>Error occurred while closing file &1 in library &2.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DLTDLO.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|