![]() ![]() |
Reference Type: Supported, Category: TaskMan, ICR#: 10063
The KILL^%ZTLOAD API deletes a task. When a task is deleted by KILL^%ZTLOAD, the
task referenced by ZTSK is not defined in the volume set's task file. If
the task was pending, it does not start, but if it had already started running,
the effects of deleting its record are unpredictable.
NOTE: Tasks can delete their own records through the use of the
ZTREQ output variable.
KILL^%ZTLOAD
Make sure to perform the following steps before calling this API:
ZTSK: |
(required) Task number of the TaskMan task to delete. |
ZTSK(0): |
Returns:
|