Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: SDECUTL2

Package: Scheduling

Routine: SDECUTL2


Information

SDECUTL2 ;ALB/SAT - VISTA SCHEDULING RPCS ;JUN 21, 2017

Source Information

Source file <SDECUTL2.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 3 ^%DT  UPDATE^DIE  ($$GET1,GETS)^DIQ  
Kernel 1 ($$DOW,$$FMADD,$$NOW,$$SCH)^XLFDT  
Scheduling 1 (GETBLKS,RESNB)^SDECUTL1  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
Scheduling 7 SDB  SDB1  SDEC04  SDEC57A  SDECINI1  SDECUTL1  SDESCLINDAILYSCH  

Entry Points

Name Comments DBIA/ICR reference
RESAB(SDAB,SDCL,SDBEG,SDEND,SDECRES)
TDAY(SDAB,SDCL,SDCLS,SDLEN,SDSI,SDBEG,SDEND)
TDAY1 ;
ST(SDCL,SDBEG) ;build ST
FDT(SDCL,Y)
H ;update ST as holiday
RESABDAY(SDAB,SDCL,SDAY,SDLEN,SDCLS,SDECRES)
SDAY(SDBLKS,SDCL,SDAY,SDLEN,SDCLS)
COMPARE(T1,T2)
ADD(HM,M)
AGAIN
FM(SDDATE)
DAY ;;^SUN^MON^TUES^WEDNES^THURS^FRI^SATUR
SDB(SDEC)
SDRES(SDCL)
INACTIVE(SDCL,SDBEG,SDEND,IDATE,RDATE)
DEL ;
DEL1 ;
ARRAY(DTARRAY,SDPAT,SDAY,SDLEN,SDCLS,SDSI,SDF)
1
2
3
4
6
SDAV(SDAV,SDCL,SDAY,SDLEN,SDCLS,SDSI)

External References

Name Field # of Occurrence
^%DT FM+2
UPDATE^DIE SDRES+17, DEL+2, DEL1+2
$$GET1^DIQ TDAY+9, TDAY+11, TDAY+13, TDAY1+24, ST+7, RESABDAY+15, RESABDAY+17, SDAY+13, SDAY+15
GETS^DIQ RESAB+16, SDRES+9
GETBLKS^SDECUTL1 TDAY1+15, TDAY1+29
RESNB^SDECUTL1 TDAY1+16, TDAY1+30, RESABDAY+19
$$DOW^XLFDT TDAY1+8, ST+5
$$FMADD^XLFDT RESAB+12, RESAB+13, RESAB+24, TDAY1+21, TDAY1+22, TDAY1+23
$$NOW^XLFDT RESAB+12, RESAB+13, TDAY1+21, SDRES+15
$$SCH^XLFDT TDAY1+23

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,H," ",$G(^SDEC(409.821,H,0))
  • Line Location: DEL+2
Routine Call
  • DIE
  • Line Location:
    • SDRES+17
    • DEL+2
    • DEL1+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ,  GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] ST+7, H+1
^HOLIDAY("B" TDAY1+24
^SC - [#44] RESAB+24, TDAY1+4, TDAY1+6, TDAY1+25, ST+10*, FDT+3, FDT+5, FDT+7, H+1*, SDAY+19
, SDAV+4, SDAV+5
^SDEC(409.821 DEL+2, DEL+3!, DEL1+2, DEL1+3!
^SDEC(409.823 - [#409.823] SDAY+11, SDAY+12
^SDEC(409.831 - [#409.831] RESAB+14, SDRES+3, SDRES+4

Label References

Name Line Occurrences
$$ADD SDAY+28, SDAY+29, SDAY+39
$$COMPARE SDAY+22
$$FDT TDAY1+10, ST+8
$$FM SDAY+23, SDAY+32, SDAY+34, SDAY+44, SDAY+46
$$INACTIVE RESAB+18
$$ST TDAY1+4
@( ARRAY+16
AGAIN AGAIN
ARRAY SDAV+7
DAY TDAY1+20, ST+10
H ST+7
RESABDAY RESAB+25, SDB+10
SDAV SDAY+21
SDAY RESABDAY+18
SDRES SDB+7
TDAY RESAB+28, SDB+9
TDAY1 TDAY+22

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SDB+5~
%DT FM+1~, FM+2*
ABBR SDRES+1~, SDRES+12*
BSTART 1+1~, 1+2*, 1+7*, 1+8, 2+1~, 2+2*, 2+7*, 2+8, 3+1~, 3+2*
3+7*, 3+8, 4+1~, 4+2*, 4+7*, 4+8, 6+1~, 6+2*, 6+7*, 6+8
CNT 1+1~, 1+5*, 1+6, 1+8, 2+1~, 2+5*, 2+6, 2+7, 2+8, 3+1~
3+5*, 3+6, 3+7, 3+8, 4+1~, 4+5*, 4+6, 4+7, 4+8, 6+1~
6+5*, 6+6, 6+7, 6+8
D TDAY1+1~, TDAY1+8*, TDAY1+9, ST+2~, ST+5*, ST+6
DTARRAY ARRAY~, SDAV+1~, SDAV+7
DTARRAY( 1+8*, 2+8*, 3+8*, 4+8*, 6+8*, SDAV+10
DUZ SDRES+16
H DEL+1~, DEL+2*, DEL1+1~, DEL1+2*
H1 ADD+1~, ADD+2*, AGAIN*, AGAIN+1*, AGAIN+3
HM ADD~, ADD+2, ADD+3
HOUR 1+1~, 1+4*, 1+6*, 1+7, 2+1~, 2+4*, 2+6*, 2+7, 3+1~, 3+4*
3+6*, 3+7, 4+1~, 4+4*, 4+6*, 4+7, 6+1~, 6+4*, 6+6*, 6+7
IDATE INACTIVE~, INACTIVE+11, INACTIVE+13, INACTIVE+15, INACTIVE+18, INACTIVE+20
M ADD~, ADD+4
M1 ADD+1~, ADD+3*, ADD+4*, AGAIN*, AGAIN+2*, AGAIN+3
PSLOT SDAY+8~, SDAY+16*, SDAY+28, SDAY+32, SDAY+37*, SDAY+44
PTIME SDAY+8~, SDAY+16*, SDAY+27, SDAY+28, SDAY+29, SDAY+36*, SDAY+39, SDAY+45
RDATE INACTIVE~, INACTIVE+15, INACTIVE+18, INACTIVE+20
SC ST+2~, ST+4*, H+1
SDA TDAY1+1~, TDAY1+2*, TDAY1+6, ARRAY+8~, ARRAY+12*
SDAB RESAB~, RESAB+25, RESAB+28, TDAY~, TDAY1+16, TDAY1+30, RESABDAY~, RESABDAY+19
SDATAV SDAY+6~, SDAY+11*, SDAY+32, SDAY+44
SDATUN SDAY+6~, SDAY+12*, SDAY+23, SDAY+34, SDAY+46
SDAV SDAY+7~, SDAY+21, SDAY+47!, SDAV~, SDAV+3!, SDAV+4*
SDAV(2 SDAY+22, SDAY+24, SDAY+25, SDAV+8, SDAV+9, SDAV+11!
SDAY RESAB+11~, RESAB+24*, RESAB+25, TDAY+3~, TDAY1+21*, TDAY1+22, TDAY1+23*, TDAY1+24, TDAY1+25, TDAY1+27
TDAY1+29, TDAY1+30, RESABDAY~, RESABDAY+12*, RESABDAY+13, RESABDAY+18, RESABDAY+19, SDAY~, SDAY+19, SDAY+21
, SDAY+23, SDAY+32, SDAY+34, SDAY+44, SDAY+46, ARRAY~, 1+7, 2+7, 3+7, 4+7
6+7, SDAV~, SDAV+4, SDAV+5, SDAV+7, SDAV+10
SDAY1 TDAY+3~, TDAY1+21
SDB1 SDAY+6~, SDAY+16*, SDAY+26*, SDAY+32, SDAY+35*, SDAY+38, SDAY+44
SDBEG RESAB~, RESAB+12*, RESAB+18, RESAB+24, RESAB+28, TDAY~, TDAY+14*, TDAY1+4, TDAY1+6, TDAY1+8
TDAY1+15, TDAY1+16, ST~, ST+3, FDT+7, INACTIVE~, INACTIVE+13, INACTIVE+15, INACTIVE+18, INACTIVE+20*
SDBI SDAY+6~, SDAY+17*, SDAY+23*, SDAY+32*, SDAY+34*, SDAY+44*, SDAY+46*
SDBLKS TDAY+3~, TDAY1+14!, TDAY1+15, TDAY1+16, TDAY1+17!, TDAY1+28!, TDAY1+29, TDAY1+30, TDAY1+31!, RESABDAY+8~
, RESABDAY+18, RESABDAY+19, SDAY~, SDAY+18!
SDBLKS( SDAY+23*, SDAY+32*, SDAY+34*, SDAY+44*, SDAY+46*
SDCAN SDAV+2~
SDCL RESAB~, RESAB+16, RESAB+17, RESAB+18, RESAB+19, RESAB+20, RESAB+22, RESAB+24, RESAB+25, RESAB+28
, TDAY~, TDAY+4*, TDAY+5, TDAY+9, TDAY+11, TDAY+13, TDAY1+4, TDAY1+6, TDAY1+10, TDAY1+15
TDAY1+16, TDAY1+24, TDAY1+25, TDAY1+29, TDAY1+30, ST~, ST+4, ST+7, ST+8, ST+10
, FDT~, FDT+3, FDT+5, FDT+7, RESABDAY~, RESABDAY+9*, RESABDAY+10, RESABDAY+15, RESABDAY+17, RESABDAY+18
, RESABDAY+19, SDAY~, SDAY+13, SDAY+15, SDAY+19, SDAY+21, SDB+5~, SDB+6*, SDB+7, SDB+8
, SDB+9, SDB+10, SDRES~, SDRES+3, SDRES+6, SDRES+9, SDRES+10, SDRES+11, SDRES+12, SDRES+13
, SDRES+14, INACTIVE~, SDAV~, SDAV+4, SDAV+5
SDCLN SDB+5~
SDCLS RESAB+11~, RESAB+20*, RESAB+21*, RESAB+25, RESAB+28, TDAY~, TDAY+10*, TDAY+11*, TDAY1+15, TDAY1+29
, RESABDAY~, RESABDAY+16*, RESABDAY+17*, RESABDAY+18, SDAY~, SDAY+9*, SDAY+10, SDAY+21, ARRAY~, 1+4
2+4, 3+4, 4+4, 6+4, SDAV~, SDAV+7
SDCLS4 SDAY+7~, SDAY+10*, SDAY+22, SDAY+23
SDDATA RESAB+11~, SDRES+1~
SDDATA(44 RESAB+17, RESAB+18, RESAB+19, RESAB+20, RESAB+22, SDRES+10, SDRES+11, SDRES+12
SDDATE FM~, FM+2
SDDH SDAY+6~, SDAY+13*, SDAY+14*, SDAY+39
SDDI SDRES+1~, SDRES+11*
SDDT ST+2~, ST+3*, ST+5, ST+7, ST+10
SDE TDAY+3~, FDT+1~, FDT+3*, FDT+4, FDT+5, FDT+7*
SDE1 TDAY+3~, TDAY1+22*, TDAY1+23
SDEC SDB~, SDB+11!
SDEC( SDB+6, SDB+8
SDECRES RESAB~, RESAB+14*, RESAB+25, RESABDAY~, RESABDAY+11*, RESABDAY+19
SDEND RESAB~, RESAB+13*, RESAB+18, RESAB+24, RESAB+28, TDAY~, SDAY+6~, SDAY+29*, SDAY+30, SDAY+33
, SDAY+34, SDAY+39*, SDAY+40, SDAY+42*, SDAY+44, SDAY+46, INACTIVE~, INACTIVE+13*
SDEND1 SDAY+6~, SDAY+30*, SDAY+32, SDAY+40*
SDF ARRAY~, ARRAY+11*, 1+8, 2+8, 3+8, 4+8, 6+8
SDFDA SDRES+1~
SDFDA( SDRES+10*, SDRES+11*, SDRES+12*, SDRES+13*, SDRES+14*, SDRES+15*, SDRES+16*, DEL+2*, DEL1+2*
SDFIELDS RESAB+11~, RESAB+15*, RESAB+16, SDRES+8*, SDRES+9
SDFOUND SDRES+1~, SDRES+2*, SDRES+3, SDRES+6*, SDRES+7
SDI SDRES+1~, SDRES+3*, SDRES+4, SDRES+7*, SDRES+10, SDRES+11, SDRES+12, SDRES+13, SDRES+14, SDRES+15
, SDRES+16, ARRAY+8~, 1+1~, 1+3*, 2+3*, 3+3*, 4+3*, 6+3*, SDAV+2~
SDIN RESAB+11~
SDJ TDAY+3~
SDLEN RESAB+11~, RESAB+19*, RESAB+25, RESAB+28, TDAY~, TDAY+8*, TDAY+9*, TDAY1+15, TDAY1+29, RESABDAY~
, RESABDAY+14*, RESABDAY+15*, RESABDAY+18, SDAY~, SDAY+21, SDAY+28, SDAY+29, SDAY+39, ARRAY~, SDAV~
, SDAV+7
SDNOD SDRES+1~, SDRES+4*, SDRES+5
SDNOD2 SDAY+6~, SDAY+22*, SDAY+23, SDAY+25*, SDAY+26, SDAY+28, SDAY+29, SDAY+33, SDAY+34, SDAY+35
, SDAY+36, SDAY+37, SDAV+9*, SDAV+10
SDPAT TDAY+3~, TDAY1+27*, TDAY1+29, ARRAY~, 1+5, 1+8, 2+5, 2+8, 3+5, 3+8
4+5, 4+8, 6+5, 6+8, SDAV+2~, SDAV+5*, SDAV+6, SDAV+7
SDPAT1 TDAY+3~, TDAY1+20*, TDAY1+27
SDRA RESAB+11~
SDRT SDRES+1~, SDRES+5*, SDRES+6
SDSI RESAB+11~, RESAB+22*, RESAB+28, TDAY~, TDAY+12*, TDAY+13*, TDAY1+2, TDAY1+15, TDAY1+26, TDAY1+29
, ST+10, SDAY+6~, SDAY+15*, SDAY+21, ARRAY~, ARRAY+12, ARRAY+13, ARRAY+16, SDAV~, SDAV+7
SDSIM TDAY+3~, TDAY1+26*, TDAY1+27, ARRAY+8~, ARRAY+13*
SDT RESAB+11~, TDAY1+20, TDAY1+23, SDB+5~, SDB+8*, SDB+9, SDB+10
SDTIME SDAY+6~, SDAY+19*, SDAY+20, SDAY+22, SDAY+24*, SDAY+25, SDAV+2~, SDAV+8*, SDAV+9, SDAV+11
SDTP TDAY1+1~, TDAY1+3*, TDAY1+6*, TDAY1+12*, TDAY1+13, TDAY1+15, TDAY1+27, FDT+1~, FDT+2*, FDT+5*
, FDT+6, FDT+7*, FDT+8
SS TDAY1+1~, TDAY1+10*, TDAY1+11, TDAY1+12, ST+2~, ST+8*, ST+9, ST+10
ST TDAY1+1~, TDAY1+4*
T1 COMPARE~, COMPARE+6
T1M COMPARE+5~, COMPARE+6*, COMPARE+7, COMPARE+8, COMPARE+9
T2 COMPARE~, COMPARE+6
T2M COMPARE+5~, COMPARE+6*, COMPARE+7, COMPARE+8, COMPARE+9
U TDAY1+20, ST+10, H+1, SDAY+22, SDAY+23, SDAY+26, SDAY+28, SDAY+29, SDAY+32, SDAY+33
, SDAY+34, SDAY+35, SDAY+36, SDAY+37, SDAY+44, SDAY+46, SDRES+5, SDAV+10
X H+1, FM+1~, FM+2*
Y TDAY1+1~, TDAY1+9*, TDAY1+10, ST+2~, ST+6*, ST+8, ST+10, FDT~, FDT+3, FDT+5
, FDT+7, FM+1~, FM+3

Marked Items

Name Field # of Occurrence
$T(DAY TDAY1+20, ST+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All