Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
REPORT | Report name | Generic name, name, *SELECT | Optional, Positional 1 |
RPTDATE | Report date range | Element list | Optional |
Element 1: From date | Character value, *AVAIL | ||
Element 2: To date | Character value, *CURRENT | ||
DSPRPTSLT | Display report selection | *YES, *NO | Optional |
Top |
Specifies the name of the report or report group that you want to find.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Specifies the earliest and latest dates of the reports that should be searched.
Element 1: From date
Element 2: To date
Top |
Top |
Example 1: Simple Example
FNDRPTRDAR
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.
Example 2: More Complex Example
FNDRPTRDAR REPORT(CHECKSTMTS) RPTDATE(20020101 20021231) DSPRPTSLT(*NO)
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.
Top |
None
Top |