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

251 lines
8.6 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 Report for OnDemand (DLTRPTRDAR)</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="DLTRPTRDAR.Top_Of_Page"></a>
<h2>Delete Report for OnDemand (DLTRPTRDAR)</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="#DLTRPTRDAR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DLTRPTRDAR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DLTRPTRDAR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DLTRPTRDAR"></a>
<p>The Delete Report for OnDemand (DLTRPTRDAR) command deletes the specified report.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DLTRPTRDAR.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="#DLTRPTRDAR.REPORT"><b>REPORT</b></a></td>
<td valign="top">Report name</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DLTRPTRDAR.VERSION"><b>VERSION</b></a></td>
<td valign="top">Version</td>
<td valign="top">1-99</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#DLTRPTRDAR.RPTDATE"><b>RPTDATE</b></a></td>
<td valign="top">Report date</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Required, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#DLTRPTRDAR.RPTSEQ"><b>RPTSEQ</b></a></td>
<td valign="top">Report sequence number</td>
<td valign="top">AAA-999</td>
<td valign="top">Required, Positional 4</td>
</tr>
<tr>
<td valign="top"><a href="#DLTRPTRDAR.CLEANUP"><b>CLEANUP</b></a></td>
<td valign="top">Remove partial reports</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#DLTRPTRDAR.SBMJOB"><b>SBMJOB</b></a></td>
<td valign="top">Submit to batch</td>
<td valign="top"><b><u>*YES</u></b>, *NO</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="3"><a href="#DLTRPTRDAR.JOBD"><b>JOBD</b></a></td>
<td valign="top">Job description</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Job description</td>
<td valign="top"><i>Name</i>, <b><u>QRDARS400</u></b></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DLTRPTRDAR.REPORT"></a>
<h3>Report name (REPORT)</h3>
<p>Specifies the name of the report.
</p>
<p>This is a required parameter.
</p>
<p>
<b>Note: </b>If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.VERSION"></a>
<h3>Version (VERSION)</h3>
<p>Specifies the version of the report that should be deleted. This value must be between 01 and 99.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.RPTDATE"></a>
<h3>Report date (RPTDATE)</h3>
<p>Specifies the report date of the report to delete.
</p>
<p>Specify a date using the format YYYYMMDD where YYYY represents the year, MM the month, and DD the day. Do not use any type of special characters to separate year, month, and day values.
</p>
<p>The report date can be found in the QPRLRCDS printer file from STRCDSRDAR or on the OnDemand displays which show the report date for a given report.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.RPTSEQ"></a>
<h3>Report sequence number (RPTSEQ)</h3>
<p>Specifies the report sequence number of the report to be deleted. This value must be between 001 and 999 unless this is an AnyStore report. AnyStore reports allow sequence numbers from AAA to 999.
</p>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.CLEANUP"></a>
<h3>Remove partial reports (CLEANUP)</h3>
<p>Specifies whether partial reports should be deleted.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>Partial reports are not deleted.
</dd>
<dt><b>*YES</b></dt>
<dd>Partial reports are deleted.
<p>
<b>Note: </b>A report is a partial report when some portion of the report is missing. If you tried to delete a report and it failed, you can specify *YES here and the pieces of the report that are found will be deleted.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.SBMJOB"></a>
<h3>Submit to batch (SBMJOB)</h3>
<p>Specify if you want to delete the specific report interactively or in a batch job.
</p>
<dl>
<dt><b><u>*YES</u></b></dt>
<dd>This command should be submitted to run in a different job.
</dd>
<dt><b>*NO</b></dt>
<dd>This command should be run within the current job. If you are entering this command from a terminal, this will prevent you from doing any other work from this terminal session until this command completes.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DLTRPTRDAR.JOBD"></a>
<h3>Job description (JOBD)</h3>
<p>Specifies the name of the job description used for the submitted job.
</p>
<p><b>Qualifier 1: Job description</b>
</p>
<dl>
<dt><b><u>QRDARS400</u></b></dt>
<dd>The QRDARS400 job description is used as the job description for the submitted job.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the job description used for the job.
</dd>
</dl>
<p><b>Qualifier 2: Library</b>
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the job's library list are searched until the first match is found.
</dd>
<dt><b>*CURLIB</b></dt>
<dd>The current library for the job is used to locate the job description name. If no library is specified as the current library for the job, QGPL is used.
</dd>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the library where the job description name is located.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTRPTRDAR.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Simple Example</b>
</p>
<p>
<pre>
DLTRPTRDAR REPORT(CHECKSTMTS) VERSION(01) RPTDATE(20020101)
RPTSEQ(001)
</pre>
</p>
<p>This command submits a job to batch that will delete an OnDemand Spool File Archive report called CHECKSTMTS for Version 01/Sequence number 001 for the date specified.
</p>
<p><b>Example 2: More Complex Example</b>
</p>
<p>
<pre>
DLTRPTRDAR REPORT(CHECKSTMTS) VERSION(01) RPTDATE(20020101)
RPTSEQ(001)CLEANUP(*YES) SBMJOB(*NO)
</pre>
</p>
<p>This command runs interactively to delete all or part of an OnDemand Spool File Archive report called CHECKSTMTS for Version 01/Sequence number 001 for the date specified. The CLEANUP(*YES) parameter is used to delete parts of an archived spooled file that may have been created during a previous archive attempt that was unsuccessful.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DLTRPTRDAR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>RDR0153</b></dt>
<dd>Error was detected for Report &amp;1/&amp;2/&amp;3.&amp;4. The report was not deleted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DLTRPTRDAR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>