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
icosutil
utility to execute theArchiveDelete
utility. TheArchiveDelete
utility proceeds to clear the specified UOWs based on criteria specified in theworkArchivingUtility.properties
file. - -f
- Specifies an option when using the
ArchiveDelete
keyword. - workArchivingUtility.properties
- Specifies the
workArchivingUtility.properties
file that defines the criteria that theArchiveDelete
utility 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
ArchiveDelete
utility uses to clear the required information.