GENERAL DESCRIPTION |
The Laboratory System Re-engineering project (LSRP)
Rollback Tool Kit (RTK) uses FileMan API(s) to query information in the OPTION
SCHEDULING file (#19.2) for the Preservation step in the RTK.
1) The following FileMan API is used to query for the NAME (#.01), QUEUED TO
RUN AT WHAT TIME (#2), DEVICE FOR QUEUED JOB OUTPUT (#3), QUEUED TO RUN ON
VOLUME SET (#5), RESCHEDULING FREQUENCY (#6), SPECIAL QUEUEING (#9), USER TO
RUN TASK (#11) and TASK PARAMETERS (#15) fields in the OPTION SCHEDULING file
(#19.2):
D LIST^DIC(19.2,"",LRFLDS,"PQ","","","","",LRSCR,"",LRQRY,"LRMSG")
where LRFLDS="@;.01;2;3;5;6;9;11;15"
LRSCR="N LRX S LRX=$G(^DIC(19,+^(0),0)) I ($E(LRX,1,2)=""LA""!
($E(LRX,1,2)=""LR"")),$E(LRX,1,3)'=""LRJ"",$E(LRX,1,4)
'=""LA7J"""
2) The following FileMan API is used to query the OTHER PARAMETERS (#10)
subfile (#19.21) field in the OPTION SCHEDULING file (#19.2):
D GETS^DIQ(19.2,LRIEN_",","10*","E","LROTHER","LRMSG")
where LRIEN is the OPTION SCHEDULING file (#19.2) IEN
3) The following FileMan API(s) are used to look-up and display an entry in
the OPTION SCHEDULING file (#19.2):
S DA=+$$FIND1^DIC(19.2,"","XQ",LROPTI,"B","","LRERR")
I 'DA Q
S DIC="^DIC(19.2,"
S DIQ(0)=""
D EN^DIQ
where LROPTI is the OPTION file (#19) IEN
|
GLOBAL REFERENCE |
GLOBAL REFERENCE |
FIELD NUMBER |
DIC(19.2,DA,0) |
FIELD NUMBER |
ACCESS |
FIELD NAME |
LOCATION |
.01 |
Read w/Fileman |
NAME |
0;1 |
2 |
Read w/Fileman |
QUEUED TO RUN AT WHAT TIME |
0;2 |
3 |
Read w/Fileman |
DEVICE FOR QUEUED JOB OUTPUT |
0;3 |
5 |
Read w/Fileman |
QUEUED TO RUN ON VOLUME SET |
0;5 |
6 |
Read w/Fileman |
RESCHEDULING FREQUENCY |
0;6 |
9 |
Read w/Fileman |
SPECIAL QUEUEING |
0;9 |
|
DIC(19.2,DA,1.1) |
FIELD NUMBER |
ACCESS |
FIELD NAME |
LOCATION |
11 |
Read w/Fileman |
USER TO RUN TASK |
1.1;1 |
|
DIC(19.2,DA,3) |
FIELD NUMBER |
ACCESS |
FIELD NAME |
LOCATION |
15 |
Read w/Fileman |
TASK PARAMETERS |
3;E1,245 |
|
DIC(19.2,DA(1),2,0) |
FIELD NUMBER |
ACCESS |
FIELD NAME |
LOCATION |
10 |
Read w/Fileman |
OTHER PARAMETERS |
2;0 |
|
|