The DELETE-REQUESTS statement deletes requests from the request file. Only completed requests are deleted. By default all requests are deleted which are older than 40 days.
When a request is deleted, the associated report file in PDF format is also deleted.
DELETE-REQUESTS | Alias: DLR | ||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
REQUEST-NAME =
Selects the requests according to the request name.
REQUEST-NAME = *ALL
The request name is not a selection criterion.
REQUEST-NAME = <composed-name_1..10>
Deletes the requests with the specified name.
REQUEST-DATE =
The requests are selected in accordance with their request date.
REQUEST-DATE = *INTERVAL(...)
Only deletes requests whose request date lies within the specified period. Range specifications apply including the range limit values.
FROM =
Defines the lower limit of the period for the request date of the requests. Requests are deleted only if they were started on the specified date or later.
FROM = *EARLIEST-DATE
Defines that the period for the start time for the request date has no lower limit.
FROM = <date>(TIME = 00:00:00 / <time>)
Defines the specified date and, if required, also the specified time as the lower limit of the period for the request date of the requests.
TO =
Defines the upper limit of the period for the request date of the requests. Requests are deleted only if they were started on the specified date or earlier.
TO = *STD
The upper limit of the period for the request date is derived from the FDDRL parameter KEEP-REQUEST.
TO = *TODAY
Defines the date of the current day as the upper limit of the period for the request date of the requests.
TO = *YESTERDAY
Defines the date of the previous day as the upper limit of the period for the request date of the requests.
TO = <int -99999..0 days>
Defines the date which lies the specified number of days in the past as the upper limit of the period for the request date of the requests.
TO = <date>(TIME = 23:59:59 / <time>)
Defines the specified date and, if required, also the specified time as the upper limit of the period for the request date of the requests.