STANDARD DATA DICTIONARY #3.54 -- RESOURCE FILE                                                                   3/24/25    PAGE 1
STORED IN ^%ZISL(3.54,  (17 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                    (VERSION 8.0)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file is for internal use by TaskMan and the Device Handler in the sequential processing of tasks.  Jobs that have been sent to
a resource-type device will be monitored according to fields in this file.  To accomodate the Device Handler's need to write to but
rarely read from this file, the translated ^%ZISL global is used.  This file is cross-referenced by name and job number.  


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

CROSS
REFERENCED BY: JOB #(AJ), NAME(B)



3.54,.01      NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      OCT 16, 1989 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:      This file is for internal use by TaskMan and the Device Handler.  Names of resources are defined by
                                the Device Handler according to the $I value of resource-type devices in the Device file.  

              NOTES:            TRIGGERED by the $I field of the DEVICE File 
                                TRIGGERED by the TYPE field of the DEVICE File 

              CROSS-REFERENCE:  3.54^B 
                                1)= S ^%ZISL(3.54,"B",$E(X,1,30),DA)=""
                                2)= K ^%ZISL(3.54,"B",$E(X,1,30),DA)


3.54,1        AVAILABLE SLOTS        0;2 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
              LAST EDITED:      DEC 21, 1990 
              HELP-PROMPT:      Type a Number between 1 and 999, 0 Decimal Digits 
              DESCRIPTION:      This field indicates whether another task can be sent to this resource.  For sequential or single
                                thread processing, this field will have a constant value of one.  The RESOURCE SLOTS field in the
                                Device file is used to determine the number.  If the RESOURCE SLOTS are greater than one, the value
                                of this field will change as the beginning tasks complete and slots become available for other
                                tasks that have been directed to this resource.  

              NOTES:            TRIGGERED by the RESOURCE SLOTS field of the DEVICE File 


3.54,2        SLOTS IN USE           1;0 Multiple #3.542 (Add New Entry without Asking)

              LAST EDITED:      OCT 16, 1989 
              DESCRIPTION:
                                This multiple field stores information about the jobs that currently own this resource.  


3.542,.01       SLOT IN USE            0;1 NUMBER (Multiply asked)

                INPUT TRANSFORM:K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X K:$S('$D(X)!'$D(^%ZISL(3.54,D0,0)):0,X>($P(^(0),"^",2)+1):1,
                                1:0) X S:$D(X) DINUM=X
                LAST EDITED:    OCT 25, 1989 
                HELP-PROMPT:    Type a Number between 1 and 999, 0 Decimal Digits 
                DESCRIPTION:    This is the number of the slot currently in use.  It is an arbitrary counter used to file
                                information about the current job.  

                NOTES:          XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER

                CROSS-REFERENCE:3.542^B 
                                1)= S ^%ZISL(3.54,DA(1),1,"B",$E(X,1,30),DA)=""
                                2)= K ^%ZISL(3.54,DA(1),1,"B",$E(X,1,30),DA)


3.542,1         CPU/VOL              0;2 FREE TEXT

                INPUT TRANSFORM:K:$L(X)>7!($L(X)<2) X
                LAST EDITED:    OCT 16, 1989 
                HELP-PROMPT:    Answer must be 2-7 characters in length. 
                DESCRIPTION:
                                This field indicates the location of the current resource.  


3.542,2         JOB #                0;3 FREE TEXT

                INPUT TRANSFORM:K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<1) X
                LAST EDITED:    MAY 29, 1990 
                HELP-PROMPT:    Answer must be a numeric integer of 1-30 characters in length. 
                DESCRIPTION:
                                This field holds the number of the current job, the Task SubManager's $J.  

                CROSS-REFERENCE:3.54^AJ 
                                1)= S ^%ZISL(3.54,"AJ",$E(X,1,30),DA(1),DA)=""
                                2)= K ^%ZISL(3.54,"AJ",$E(X,1,30),DA(1),DA)


3.542,3         TASK #               0;4 NUMBER

                INPUT TRANSFORM:K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
                LAST EDITED:    JUN 23, 1999 
                HELP-PROMPT:    Type a Number between 1 and 999999999, 0 Decimal Digits 
                DESCRIPTION:
                                This field holds the task number of the job that has this resource slot.  It is for reference only.  


3.542,4         START TIME           0;5 FREE TEXT

                INPUT TRANSFORM:K:$L(X)>11!($L(X)<3)!'(X?1.5N1","1.5N) X
                LAST EDITED:    OCT 28, 1999 
                HELP-PROMPT:    Answer must be 3-11 characters in length. $H format. 
                DESCRIPTION:    This field holds the $H time that the slot was allocated to a job.  Can be used to help find
                                abandoned slots.  





INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):