Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

DQ^%ZTLOAD: Unschedule a Task

Reference Type: Supported, Category: TaskMan, Integration Agreement: 10063

Description

This API unschedules tasks. Unscheduling a task ensures that, after the call, it is not scheduled or waiting for a device, computer link, or partition in memory. Unscheduling is guaranteed to be successful as long as the task is currently defined in the TASKS file (#14.4). However, unscheduling a task that has already started running does not stop the task in any way.

Format

  DQ^%ZTLOAD

Make sure to perform the following steps before calling this API:

  1. NEW all non-namespaced variables.

  2. Set all input variables.

  3. Call the API.

Input Variables

ZTSK:

(required) The number of the task to unschedule. This task must currently be defined in the TASKS file (#14.4) or the call will fail.

Output

returns:

Returns:

  • 1—Task was unscheduled successfully.

  • 0—Task was not unscheduled successfully.

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.