Deletes one or more patch recovery data sets in order of creation date, starting with the oldest one first. A recovery data set is created when a patch kit is successfully installed with the /SAVE_RECOVERY_DATA qualifier. Recovery data sets are used to uninstall patches when you use the PRODUCT UNDO PATCH command. Note that once patch recovery data is deleted, you cannot uninstall any patch that is associated with this data. Installed patches are not affected when you use the PRODUCT DELETE RECOVERY_DATA command. Format PRODUCT DELETE RECOVERY_DATA [/qualifiers]
1 – Parameters
None.
2 – Qualifiers
2.1 /ALL
/ALL (default) Selects all patch recovery data sets to be deleted. The recovery data is deleted in the order it was created, starting with the oldest set first. If you omit this qualifier from the command line, the effect is the same as if you specified it.
2.2 /BEFORE
/BEFORE=time Selects patch recovery data sets created before the specified date and time. You can specify time as an absolute time, as a combination of absolute and delta times, or as one of the following keywords: TODAY (default) TOMORROW YESTERDAY For information about specifying time values. see the OpenVMS User's Manual.
2.3 /OPTIONS
/OPTIONS=keyword /NOOPTIONS (default) Specifies PRODUCT command options. The keyword is: NOCONFIRM Omits the confirmation dialog that asks the user to verify the recovery data sets that have been selected for processing.
2.4 /LOG
/LOG /NOLOG (default) Displays the file specifications of the files within the recovery data sets that are being deleted.
2.5 /OLDEST
/OLDEST=count Specifies the number of oldest recovery data sets that you want to delete. For example, if you specify /OLDEST=2, the PRODUCT DELETE RECOVERY_DATA command deletes the two oldest recovery data sets. If you do not specify a number with this qualifier, the default value is 1.
2.6 /REMOTE
/REMOTE /NOREMOTE (default) Selects recovery data sets located on a privately mounted system disk. By default, PCSI searches the currently booted system disk for recovery data sets. When you use /REMOTE, the following logical names must be defined: o PCSI$SYSDEVICE must specify the physical disk name of the target system disk. This disk must be mounted and allocated to the process executing the PRODUCT command. o PCSI$SPECIFIC must point to a system root on PCSI$SYSDEVICE. It must be defined in the following form, where x is a valid system root: PCSI$SYSDEVICE:[SYSx.]
3 – Example
$ PRODUCT DELETE RECOVERY_DATA /OLDEST=2 The command in this example deletes the two oldest recovery data sets starting with the one that was created first, followed by next oldest recovery data set. If, for example, three patch recovery data sets are on the system disk, you still have one set preserved after this operation completes. Remember that once a patch recovery data set is deleted, you cannot uninstall the patch kit associated with the deleted recovery data. The installed patch kits, however, are not affected by this action.