# | Name | Location | Type | Details | Index | Description |
---|---|---|---|---|---|---|
.001 | number | 11 | This is the TASK number. | |||
.01 | entry point(+) | 0;1 | FREE TEXT | This is the entry point in the routine to use. | ||
2 | routine name(+) | 0;2 | FREE TEXT | This is the ROUTINE that should be run when the scheduled time comes. | ||
3 | user(+) | 0;3 | POINTER | 200 | This is a pointer to the NEW PERSON file of the person the created the task. It is only valid if the task was created in this UCI. | |
4 | requested uci | 0;4 | FREE TEXT | This is the UCI that the job requested that the task run in. | ||
5 | creation time ($h) | 0;5 | FREE TEXT | This is the time that the task was created. | ||
6 | scheduled run time ($h) | 0;6 | FREE TEXT | This is the time that the task is scheduled to run. | ||
7 | type of task | 0;7 | FREE TEXT | This is a flag to tell if it is an option or a routine that is scheduled. | ||
8 | option number | 0;8 | NUMERIC | This is the IEN of the option to run. It is only valid if the task was created in this UCI. | ||
9 | option name | 0;9 | FREE TEXT | This is the name of the option that is scheduled to run. | ||
10 | creator name | 0;10 | FREE TEXT | This is the name of the Person that created the task. | ||
11 | creation uci | 0;11 | FREE TEXT | This is the UCI that the task was created in. | ||
12 | creation volume set | 0;12 | FREE TEXT | This is the Volume Set that the task was created on. | ||
13 | reserved | 0;13 | FREE TEXT | This is a place holder field for the string ZTDESC that is placed in this position by the code. | ||
14 | requested volume set | 0;14 | FREE TEXT | This is the Volume Set that was requested for the running of the task. | ||
15 | priority | 0;15 | NUMERIC | This field is the priority that the task should run at. It is a value passed in by the calling routine and over-rides the default. | ||
16 | original create date ($h) | 0;16 | FREE TEXT | This field will get the original creation $H when the task is requeued thru the REQ^%ZTLOAD API. At other times it will be empty. | ||
21 | original destination uci | .01;1 | FREE TEXT | This is the Original Destination UCI that was given. | ||
22 | original destination volume | .01;2 | FREE TEXT | This field holds the Original Destination Volume. | ||
31 | current destination uci | .02;1 | FREE TEXT | This field holds the Current Destination UCI. | ||
32 | current destination volume set | .02;2 | FREE TEXT | This field holds the Current Destination Volume Set. | ||
33 | hop count | .02;3 | NUMERIC | This field is used by Taskmanager to keep track of the number of times that a task is moved to a new system trying to start it. After 3 hops taskman will reject the task. This will help keep it from filling up a disk. | ||
41 | task description | .03;E1,240 | FREE TEXT | This field holds the task description that was given by the creating application. | ||
42 | schedule time seconds | .04;1 | NUMERIC | This field holds the Scheduled run time in seconds.
It is value is $$H3^%ZTM( | ||
51 | status code | .1;1 | FREE TEXT | This is a status code to show that last know state of the task. | ||
52 | last update $h | .1;2 | FREE TEXT | This field holds the $H date when the status code was last updated. | ||
53 | status notes | .1;3 | FREE TEXT | This field holds and text string that was included to expaned the status code. | ||
54 | job | .1;4 | NUMERIC | This field holds the $JOB value for the process that ran the task. | ||
59.1 | stop flag | .1;10 | FREE TEXT | This field holds the flag that indicates that the user has asked the task to stop. | ||
59.8 | remember untill | .1;8 | FREE TEXT | This field holds the $Horolog value for the date to remember the task untill. The task cleanup routine will not remove the task record untill after this date. | ||
61 | message to user | .11;E1,240 | FREE TEXT | This field holds and message that the task sends back to the used when checking the stop flag. | ||
71 | error count | .12;1 | NUMERIC | This field holds a count of the retries if the sub-manager gets and error while setting up the task. The current limit is 5 before the sub-manager stops trying. | ||
72 | error $h | .12;2 | FREE TEXT | This field holds the $H value of when an eror occured. | ||
73 | error message | .12;3 | FREE TEXT | This field holds and OS error message if any error occurs. | ||
81 | device iop value | .2;1 | FREE TEXT | This field holds the string that will be passed to %ZIS in the IOP variable. | ||
82 | $io value | .2;2 | FREE TEXT | This field holds the resolved $IO value that was returned from %ZIS. | ||
83 | device type | .2;3 | FREE TEXT | This field holds the device type that was returned from %ZIS. | ||
84 | device sub-type | .2;4 | FREE TEXT | This field holds the Terminal Type value returned from %ZIS. | ||
85 | device %is modifier | .2;5 | FREE TEXT | This field holds any modifieds to the %ZIS call. | ||
86 | host file address | .2;6 | FREE TEXT | If the device requested is a Host File then this field holds the name of the Host file. | ||
87 | sync flag | .2;7 | FREE TEXT | This field holds the Sync Flag that will be used to control other tasks with the same Sync Flag. If one task with a Sync Flag doesn't finish properly other tasks with the same Sync Flag will be prevented from running. | ||
88 | io reschedule count | .2;8 | NUMERIC | This field holds a count of the number of times a task has been re-Scheduled because the HFS or SPL type device has been busy. This can be used to find tasks that are looping because of a bad device. | ||
91 | device file entry | .21;1 | POINTER | 3.5 | This field holds the IEN of the device that was selected. | |
95 | device parameters | .25;1 | FREE TEXT | This field holds other device parameters. | ||
96 | hunt group name | .26;1 | FREE TEXT | This field holds name of the hunt group that the device is in. | ||
101 | routine | COMPUTED | ||||
105 | creation dt | COMPUTED | Convert the creation $H into printable format. | |||
106 | scheduled run dt | COMPUTED | Convert the scheduled run $H to printable format. | |||
152 | status dt | COMPUTED | Convert the status $H to printable format. |
Not Referenced