178 lines
6.4 KiB
HTML
178 lines
6.4 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>Find Report using OnDemand (FNDRPTRDAR)</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="FNDRPTRDAR.Top_Of_Page"></a>
|
||
|
<h2>Find Report using OnDemand (FNDRPTRDAR)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#FNDRPTRDAR.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#FNDRPTRDAR.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#FNDRPTRDAR.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="FNDRPTRDAR"></a>
|
||
|
<p>The Find Report using OnDemand (FNDRPTRDAR) command presents the OnDemand logo display, with options for the user to specify report name and report date range for a report search. Optionally you can specify the date range for the user by entering values in the RPTDATE parameter of this command. This command is intended as an API for the report retrieval function. It can be used on a user defined menu to show the Select Report display.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="FNDRPTRDAR.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="#FNDRPTRDAR.REPORT"><b>REPORT</b></a></td>
|
||
|
<td valign="top">Report name</td>
|
||
|
<td valign="top"><i>Generic name, name</i>, <b><u>*SELECT</u></b></td>
|
||
|
<td valign="top">Optional, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#FNDRPTRDAR.RPTDATE"><b>RPTDATE</b></a></td>
|
||
|
<td valign="top">Report date range</td>
|
||
|
<td valign="top"><i>Element list</i></td>
|
||
|
<td valign="top" rowspan="3">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 1: From date</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*AVAIL</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Element 2: To date</td>
|
||
|
<td valign="top">
|
||
|
<i>Character value</i>, <b><u>*CURRENT</u></b></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#FNDRPTRDAR.DSPRPTSLT"><b>DSPRPTSLT</b></a></td>
|
||
|
<td valign="top">Display report selection</td>
|
||
|
<td valign="top"><b><u>*YES</u></b>, *NO</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="FNDRPTRDAR.REPORT"></a>
|
||
|
<h3>Report name (REPORT)</h3>
|
||
|
<p>Specifies the name of the report or report group that you want to find.
|
||
|
</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>
|
||
|
<dl>
|
||
|
<dt><b><u>*SELECT</u></b></dt>
|
||
|
<dd>The OnDemand logo screen is displayed for selections to be made.
|
||
|
</dd>
|
||
|
<dt><b><i>generic*-report-name</i></b></dt>
|
||
|
<dd>Specify the generic name of the reports to find.
|
||
|
</dd>
|
||
|
<dt><b><i>report-name</i></b></dt>
|
||
|
<dd>Specify the name of a report to find.
|
||
|
</dd>
|
||
|
<dt><b><i>report-group</i></b></dt>
|
||
|
<dd>Specify the name of a report group. This will find all the reports that are part of the group.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="FNDRPTRDAR.RPTDATE"></a>
|
||
|
<h3>Report date range (RPTDATE)</h3>
|
||
|
<p>Specifies the earliest and latest dates of the reports that should be searched.
|
||
|
</p>
|
||
|
<p><b>Element 1: From date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*AVAIL</u></b></dt>
|
||
|
<dd>The date of the earliest available report is used.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>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.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Element 2: To date</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CURRENT</u></b></dt>
|
||
|
<dd>Today's date is used.
|
||
|
</dd>
|
||
|
<dt><b><i>date</i></b></dt>
|
||
|
<dd>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.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="FNDRPTRDAR.DSPRPTSLT"></a>
|
||
|
<dl>
|
||
|
<dt><b><u>*YES</u></b></dt>
|
||
|
<dd>Display the report search and report selection screens if necessary.
|
||
|
</dd>
|
||
|
<dt><b>*NO</b></dt>
|
||
|
<dd>Display the document search screen for key entry without any report selection screens being displayed. The report name from the REPORT parameter and the date range from the RPTDATE parameter will be used for the report name and date range. Only allowed when a report name is specified for the REPORT parameter.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="FNDRPTRDAR.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Simple Example</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
FNDRPTRDAR
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command, if issued with no parameters, takes the user to the OnDemand Spool File Archive main "green screen" search panel to begin to search for archived documents.
|
||
|
</p>
|
||
|
<p><b>Example 2: More Complex Example</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
FNDRPTRDAR REPORT(CHECKSTMTS) RPTDATE(20020101 20021231)
|
||
|
DSPRPTSLT(*NO)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command bypasses a number of the OnDemand Spool File Archive preliminary search screens. This command would take the user directly to the panel that allows for the entry of key values to search for a particular report named CHECKSTMTS with a date that falls within the date range specified.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="FNDRPTRDAR.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p>None
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#FNDRPTRDAR.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|