FILE 14.4

From VistApedia
Jump to: navigation, search

The TASKS File (#14.4) is stored in the global root of ^%ZTSK( and each entry corresponds to a Record describing background tasks that are run by TaskMan in the VistA system. Each entry may have a value for each of these Fields:

*FIELD NUMBER* *FIELD NAME/LABEL* *TYPE* *SPECIFIER*
.001 NUMBER NUMERIC NJ10,0
.01 Entry Point FREE TEXT RF
2 Routine Name FREE TEXT RF
3 User POINTER RP200'
4 Requested UCI FREE TEXT F
5 Creation Time ($H) FREE TEXT F
6 Scheduled Run Time ($H) FREE TEXT F
7 Type of Task FREE TEXT F
8 Option Number NUMERIC NJ7,0
9 Option Name FREE TEXT F
10 Creator Name FREE TEXT F
11 Creation UCI FREE TEXT F
12 Creation Volume Set FREE TEXT F
13 RESERVED FREE TEXT F
14 Requested Volume Set FREE TEXT F
15 Priority NUMERIC NJ2,0
16 Original Create date ($H) FREE TEXT F
21 Original Destination UCI FREE TEXT F
22 Original Destination Volume FREE TEXT F
31 Current Destination UCI FREE TEXT F
32 Current Destination Volume Set FREE TEXT F
33 Hop Count NUMERIC NJ2,0
41 Task Description FREE TEXT F
42 Schedule Time Seconds NUMERIC NJ10,0
51 Status Code FREE TEXT F
52 Last Update $H FREE TEXT F
53 Status Notes FREE TEXT F
54 Job NUMERIC NJ9,0
59.1 Stop Flag FREE TEXT F
59.8 Remember Untill FREE TEXT F
61 Message to User FREE TEXT F
71 Error Count NUMERIC NJ1,0
72 Error $H FREE TEXT F
73 Error Message FREE TEXT F
81 Device IOP value FREE TEXT F
82 $IO value FREE TEXT F
83 Device Type FREE TEXT F
84 Device Sub-Type FREE TEXT F
85 Device %IS modifier FREE TEXT F
86 Host File Address FREE TEXT F
87 Sync Flag FREE TEXT F
88 IO Reschedule Count NUMERIC NJ2,0
91 Device File entry POINTER P3.5'
95 Device parameters FREE TEXT F
96 Hunt Group Name FREE TEXT F
101 ROUTINE COMPUTED CJ15
105 Creation DT COMPUTED CJ17
106 Scheduled Run DT COMPUTED CJ17
110 CREATE AGE COMPUTED CJ4
152 Status DT COMPUTED CJ17