|
|
Reference Type: Supported, Category: TaskMan, Integration Agreement: 10063
This API returns whether a task is currently pending. Pending means that the task is scheduled, waiting for an I/O device, waiting for a volume set link, or waiting for a partition in memory. It also returns the DUZ of the task's creator and the time the task was scheduled to start.
ISQED^%ZTLOAD
Make sure to perform the following steps before calling this API:
If you do not follow these steps, the variables could unintentionally assume the values of the variables of the current running task.
| ZTSK: |
(required) Task number of the task to look up. The task must be currently defined on the volume set to be searched, or the lookup fails. |
|
| ZTCPU: |
(optional) The volume set TaskMan should search for the task being looked up. If not passed, TaskMan searches the current volume set. Unlike ^%ZTLOAD's ZTCPU input variable, this one doesn't accept a second :-piece specifying the CPU. It only specifies a volume set to search. |
|
| ZTSK(0): |
ZTSK(0) is returned as follows:
|
|
| ZTSK("E"): |
(sometimes returned) The error code, returned when some error condition prevented a successful lookup. The codes and their values are:
|
|
| ZTSK("D"): |
(sometimes returned) The date and time the task was scheduled to start, in $HOROLOG format. It is returned only if ZTSK(0) equals zero (0) or 1. |
|
| ZTSK("DUZ"): |
(sometimes returned) Holds the DUZ of the user who created the task. It is returned only if ZTSK(0) equals zero (0) or 1. |
|
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
November 14, 2006
|