DELETE function
Use to delete index records that point to individual documents in IBM® Content Manager OnDemand. The data will still exist on disk or archive media, because the documents being deleted might represent only a few pages of an entire input file. However, the data will no longer be retrievable after the index records are deleted.
To identify the documents for which you want to delete index records,
you can use the following parameters to query the database:
- SQL query (-i)
- public named query (-q)
- text search string (-t or -T)
If you use an SQL query, it must contain clauses, database field names, index values, and operators. The DELETE function deletes index records for all documents that match the query.
If you want to delete an entire input file (load) of documents (such as an entire spooled file) from Content Manager OnDemand, use the Remove Report (RMVRPTOND) command instead of ARSDOC DELETE.
When
you use the parameter file option, you must specify the -F, -h, -u, -U,
and -v parameters on the command line. All other
parameters must be specified in the parameter file. The following
diagram shows the syntax of the DELETE function when you use the parameter
file option:
The syntax of the parameter file for
the DELETE function is: