CANCEL EXPIRATION (Cancel an expiration process)
Use this command to cancel a process with an unknown process number that is running as a result of an inventory expiration operation.
Use the CANCEL EXPIRATION command if the expiration process number is not known, otherwise use the CANCEL PROCESS and specify the process number of the expiration process. Both commands call the same code to end the expiration process.
You can use the CANCEL EXPIRATION command to automate the cancellation of an expiration process. For example, if you start inventory expiration at midnight and, due to the maintenance workload on the server, the process must finish at 03:00, you can schedule a CANCEL EXPIRATION command to run at 03:00 without knowing the process number.
Privilege class
To issue this command, you must have system privilege.
Syntax
Example: Cancel an inventory expiration process
Cancel the process that was generated by an inventory expiration operation.cancel expirationRelated commands
| Command | Description |
|---|---|
| QUERY PROCESS | Displays information about background processes. |
| EXPIRE INVENTORY | Manually starts inventory expiration processing. |
