Clearing an archive (ArchiveDelete)
To clear an archive, specify the ArchiveDelete keyword when executing
the icosutil utility. This keyword executes the ArchiveDelete
utility with the options specified on the command line. One of these options is a properties file
that allows you to specify which UOWs to clear from an archive.
Syntax
./icosutil ArchiveDelete -f /opt/IBM/tivoli/netcool/ncm/config/properties/
workArchivingUtility.properties -archiveName xmlfilename
Description
The ArchiveDelete utility clears the specified UOW and UOW logs from an archive.
The ArchiveDelete utility clears the required information from the XML file
specified in xmlfilename and clears the UOW based on criteria specified in the
workArchivingUtility.properties file. By default, the
workArchivingUtility.properties file resides in the
/opt/IBM/tivoli/netcool/ncm/config/properties directory.
Parameters
- ArchiveDelete
- Specifies the keyword that instructs the
icosutilutility to execute theArchiveDeleteutility. TheArchiveDeleteutility proceeds to clear the specified UOWs based on criteria specified in theworkArchivingUtility.propertiesfile. - -f
- Specifies an option when using the
ArchiveDeletekeyword. - workArchivingUtility.properties
- Specifies the
workArchivingUtility.propertiesfile that defines the criteria that theArchiveDeleteutility uses to clear an archive. - -archiveName
- Specifies the name of the archive that contains the UOW that you want to clear.
- xmlfilename
- Specifies the name of the XML file that the
ArchiveDeleteutility uses to clear the required information.