Previous Topic

Next Topic

Book Contents

Book Index

CTDDELRP DAYS Statement

The DAYS statement can contain the following parameters:

Table 219 CTDDELRP DAYS Parameters

Parameter

Description

n

Mandatory report selection parameter.

Retention period, in days, after which the report expires and is selected for deletion from the Active User Report List file. This parameter must be the first parameter in the statement.

By default, the report expires n days from the original scheduling date (ODATE) of the report decollating mission. The INCONTROL administrator can change the default so that n is calculated from the decollation date. For details, see the description of Optional Wish WD1377.

To delete reports created on future ODATEs, n can be a negative number, but it cannot exceed 9999.

The expiration date for restored reports is calculated from the restoration date and not from the ODAT.

NOTUSED=m

Optional report selection parameter.

NOTUSED means that only reports that have not been viewed or printed during the last m days will be deleted.

STORED or NOTSTOR

Optional report selection parameter.

STORED means that only reports created by a print mission with a value of Y (Yes) in the field STORE are selected. NOTSTOR excludes from the selection group reports created by a print mission with a value of Y (Yes) in the field STORE.

If neither parameter is specified, reports are selected regardless of whether or not they are created by a print mission. Both parameters cannot be specified in the same selection group.

WAITDEC or NOTWD

Optional report selection parameter.

WAITDEC means that only reports in the Wait Decollation status are selected. NOTWD excludes from the selection group reports in the Wait Decollation status.

If neither parameter is specified, the Wait Decollation status does not affect the report selection. Both parameters cannot be specified in the same selection group.

RESTORED or NOTRST

Optional report selection parameter.

RESTORED means that only reports in the Restored status are selected. NOTRST excludes from the selection group the reports in Restored status.

If neither parameter is specified, the Restored status does not affect the report selection. Both parameters cannot be specified in the same selection group.

FORCE

Optional report processing parameter.

When not specified, reports in the WAIT BACKUP or WAIT         MIGRATION status are not deleted. If specified, reports awaiting backup or migration are also deleted.

WAITPRINT

Optional report processing parameter.

When specified, reports in the WAIT PRINT status are not deleted. If not specified, reports waiting to be printed are also deleted.

NOREPORT

Optional report processing parameter.

NOREPORT causes the utility to delete any SYSDATA entry and its related CDAM data set (original report data) if the SYSDATA is not pointed to by any user entry (for example, the user entry has been deleted manually).

KEEPDSN

Optional report processing parameter.

When specified, prevents the CDAM data sets from deletion. Those CDAM data sets can then be re-decollated.

NOINDEX

Optional report processing parameter.

Prevents migrated indexes from being deleted from DASD by the CTDDELRP utility (when a report is deleted and its control records are moved to the Migrated User file), even if the indexes are defined as nonresident. This parameter is valid only for Control-V.

This parameter is designed to retain nonresident indexes on DASD for an indefinite period of time after the report has migrated. These indexes can be deleted by the CTVDELI utility at any time.

Note: The NOREPORT, KEEPDSN and NOINDEX parameters apply to all selection groups regardless of the criteria specified for them.

WAITAPRV

Optional report processing parameter.

When specified, the reports waiting for approval are processed by the utility in the usual way (deleted from Active User file and moved to the History/Migrated file).

By default, if this parameter is not specified, the reports that are waiting for approval are not processed by the utility.

REJECTED

Optional report processing parameter.

When specified, the rejected reports are processed by the utility in the usual way (deleted from Active User file and moved to History/Migrated User file).

By default, if this parameter is not specified, the rejected reports are not processed by the utility.

Parent Topic

CTDDELRP – Delete Reports that are not needed