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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: SDECIDX

Package: Scheduling

Routine: SDECIDX


Information

SDECIDX ;ALB/SAT,WTC - VISTA SCHEDULING RPCS ;Feb 12, 2020@15:22

Source Information

Source file <SDECIDX.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 3 (ARGET,RECGET,REQGET,WLGET)^SDEC  $$REQCHK^SDEC51  RMG^SDECRMG  
Kernel 2 ($$DT,$$FMADD)^XLFDT  OWNSKEY^XUSRB  
VA FileMan 2 DT^DILF  $$GET1^DIQ  

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: 3

Package Total Caller Graph
Scheduling 3 SDEC IDX REFRESH  SDECIDX GETREC  SDECIDX RECCNT  

Entry Points

Name Comments DBIA/ICR reference
ENTRY ; When executed, the following actions will occur:
; - purge existing ^XTMP("SDEC","IDX" data
; - Loop through files 123, 403.5, 409.3, and 409.85 and placing content
; into the XTMP global for retrieval by the SDECIDX GET RPC call.
PURGE ;EP- Delete the content of the global and set zero node
BUILD ;EP- Generate content
BLD(FIL) ;EP-
BLD123 ;EP- REQUEST/CONSULTATION (C)
BLD4035 ;EP- RECALL REMINDERS (R)
BLD4093 ;EP- SD WAIT LIST (E)
BLD40985 ;EP- SDEC APPT REQUEST (A)
SETNODE(S1,S3,VAL,KEYP) ;EP-
; S1 - Sort String
; S2 - not used
; S3 - GBL | IEN | <request type> ACER
; VAL -
; KEYP -
SETXREF(S4,S5,DX,DA,VAL) ;request type specific xref for 1 entry
; S4 = request type A C E or R
; S5 = xref subscript
; .DX = array of subscripts
; DA = pointer to request type
; VAL = value to set xref to; default to ""
SETNODEC(CNT) ;EP-
SETNODEP(GBL,VAL) ;EP-
PC(VAL,PIECE,DLM) ;EP-
TEST(X) ;EP
GETREC(DATA,LASTREC,MAXREC,STYLE) ;EP-
TMPGBL() ;EP-
CVTDT(VAL) ;EP-
INVDT(VAL) ;EP-
RECCNT(DATA) ;EP-

External References

Name Field # of Occurrence
DT^DILF CVTDT+1
$$GET1^DIQ BUILD+3, GETREC+13, GETREC+14, GETREC+31, GETREC+32, GETREC+36
ARGET^SDEC BLD40985+15
RECGET^SDEC BLD4035+15
REQGET^SDEC BLD123+15
WLGET^SDEC BLD4093+15
$$REQCHK^SDEC51 GETREC+12, GETREC+30
RMG^SDECRMG BLD123+12, BLD4035+12, BLD4093+12, BLD40985+12
$$DT^XLFDT PURGE+3
$$FMADD^XLFDT PURGE+3
OWNSKEY^XUSRB GETREC+25

Used in RPC

RPC Name Call Tags
SDECIDX RECCNT RECCNT
SDECIDX GETREC GETREC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDWL(409.3 - [#409.3] GET1^DIQ
^SDEC(409.85 - [#409.85] GET1^DIQ
^SDEC(409.98 - [#409.98] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TEST" TEST+4
^SD(403.5 - [#403.5] GETREC+11, GETREC+29
^TMP("SDECIDX" TMPGBL+1!
^XTMP("SDEC" PURGE+2!, PURGE+3*, SETNODE+12*, SETNODE+13*, SETNODE+14*, SETXREF+11*, SETNODEC+1*, SETNODEP+2*, GETREC+9, GETREC+15
, GETREC+17, GETREC+28, RECCNT+1

Label References

Name Line Occurrences
$$PC BLD123+19, BLD4035+19, BLD4093+19, BLD40985+19, GETREC+11, GETREC+12, GETREC+13, GETREC+14, GETREC+29, GETREC+30
, GETREC+31, GETREC+32, GETREC+36, GETREC+39
$$TEST BLD123+1, BLD4035+1, BLD4093+1, BLD40985+1
$$TMPGBL GETREC+3
BLD BUILD+8
BLD123 BLD+2
BLD4035 BLD+4
BLD4093 BLD+6
BLD40985 BLD+8
BUILD ENTRY+6
PURGE ENTRY+5
SETNODE BLD123+19, BLD4035+19, BLD4093+19, BLD40985+19
SETNODEC BUILD+9
SETNODEP BLD123+16, BLD4035+16, BLD4093+16, BLD40985+16
SETXREF BLD123+23

Naked Globals

Name Field # of Occurrence
^( GETREC+10
^($J TMPGBL+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARIEN1 BLD40985+10~
CNT BUILD+2~, BUILD+5*, BUILD+9, SETNODE+9*, SETNODE+12, SETNODE+13, SETNODE+14, SETNODEC~, SETNODEC+1, GETREC+1~
, GETREC+7*, GETREC+9, GETREC+16*, GETREC+17, GETREC+18*, GETREC+19, GETREC+28, GETREC+38*, GETREC+39, GETREC+40
DA SETXREF~, SETXREF+11
DATA GETREC~, GETREC+3*, GETREC+17, GETREC+19, GETREC+27, GETREC+39, GETREC+40, RECCNT~, RECCNT+1*
DFN BLD4035+10~, BLD4093+10~, BLD40985+10~
DLM BUILD+2~, BUILD+6*, BLD123+19, BLD4035+19, BLD4093+19, BLD40985+19, SETNODE+8, PC~, PC+1*, PC+2
, GETREC+1~, GETREC+2*, GETREC+11, GETREC+12, GETREC+13, GETREC+14, GETREC+17, GETREC+29, GETREC+30, GETREC+31
, GETREC+32, GETREC+36, GETREC+39
DT PURGE+3
DX SETXREF~
DX( SETXREF+9
FIL BLD~, BLD+1, BLD+3, BLD+5, BLD+7
FILE BUILD+2~
GBL BLD123+9~, BLD123+11*, BLD123+16, BLD123+19, BLD4035+9~, BLD4035+11*, BLD4035+16, BLD4035+19, BLD4093+9~, BLD4093+11*
BLD4093+16, BLD4093+19, BLD40985+9~, BLD40985+11*, BLD40985+16, BLD40985+19, SETNODEP~, SETNODEP+1, SETNODEP+2
IDX GETREC+1~
KEY SETNODE+7~, SETNODE+8*, SETNODE+11, SETNODE+14
KEYP SETNODE~, SETNODE+11
LASTREC GETREC~, GETREC+4*, GETREC+9, GETREC+28
LASTSUB BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~
LP BUILD+7*, BUILD+8, BLD123+9~, BLD123+13*, BLD123+14, BLD4035+9~, BLD4035+13*, BLD4035+14, BLD4093+9~, BLD4093+13*
BLD4093+14, BLD40985+9~, BLD40985+13*, BLD40985+14, GETREC+1~, GETREC+9*, GETREC+10, GETREC+11, GETREC+12, GETREC+13
, GETREC+14, GETREC+17, GETREC+28*, GETREC+29, GETREC+30, GETREC+31, GETREC+32, GETREC+36, GETREC+39
MAXREC BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~, GETREC~, GETREC+5*, GETREC+9, GETREC+28
NOD BLD123+9~, BLD123+17*, BLD123+19, BLD123+20, BLD123+22, BLD123+23, BLD4035+9~, BLD4035+17*, BLD4035+19, BLD4093+9~
BLD4093+17*, BLD4093+19, BLD40985+9~, BLD40985+17*, BLD40985+19
NODRMG BLD123+9~, BLD123+14*, BLD123+15, BLD123+18, BLD4035+9~, BLD4035+14*, BLD4035+15, BLD4035+18, BLD4093+9~, BLD4093+14*
BLD4093+15, BLD4093+18, BLD40985+9~, BLD40985+14*, BLD40985+15, BLD40985+18
PIECE PC~, PC+2
REC GETREC+1~, GETREC+10*, GETREC+15*, GETREC+19
S1 SETNODE~, SETNODE+6, SETNODE+8, SETNODE+12
S3 SETNODE~, SETNODE+6, SETNODE+8, SETNODE+12
S4 SETXREF~, SETXREF+11
S5 SETXREF~, SETXREF+11
SCPRI BLD4093+9~
SDBEG BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~
SDECY BLD123+10~, BLD123+12, BLD123+13, BLD123+14, BLD123+25, BLD4035+10~, BLD4035+12, BLD4035+13, BLD4035+14, BLD4035+21
BLD4093+10~, BLD4093+12, BLD4093+13, BLD4093+14, BLD4093+21, BLD40985+10~, BLD40985+12, BLD40985+13, BLD40985+14, BLD40985+21
SDECY1 BLD123+10~, BLD123+15, BLD123+16, BLD123+17, BLD123+24, BLD4035+10~, BLD4035+15, BLD4035+16, BLD4035+17, BLD4035+20
BLD4093+10~, BLD4093+15, BLD4093+16, BLD4093+17, BLD4093+20, BLD40985+10~, BLD40985+15, BLD40985+16, BLD40985+17, BLD40985+20
SDEND BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~
SDI SETXREF+6~, SETXREF+9*, SETXREF+10
SDMAX BUILD+2~, BUILD+3*, BUILD+4*, BLD123+12, BLD4035+12, BLD4093+12, BLD40985+12
SDSUB BLD123+9~, BLD123+21!, BLD123+23, SETXREF+6~, SETXREF+8*, SETXREF+10*, SETXREF+11
SDSUB( BLD123+22*
SORTSTR BLD123+10~, BLD123+18*, BLD123+19, BLD4035+9~, BLD4035+18*, BLD4035+19, BLD4093+10~, BLD4093+18*, BLD4093+19, BLD40985+9~
BLD40985+18*, BLD40985+19
STYLE GETREC~, GETREC+6*, GETREC+8, GETREC+20
SVCP BLD123+9~, BLD4035+9~, BLD4093+9~, BLD40985+9~
U PURGE+3, BLD123+15, BLD123+18, BLD123+20, BLD123+22, BLD123+23, BLD4035+15, BLD4035+18, BLD4093+15, BLD4093+18
BLD40985+15, BLD40985+18, SETNODE+11, PC+1, TEST+2, GETREC+39
VAL SETNODE~, SETNODE+10*, SETNODE+11*, SETNODE+13, SETXREF~, SETXREF+7*, SETXREF+11, SETNODEP~, SETNODEP+2, PC~
, PC+2, CVTDT~, CVTDT+1, CVTDT+2, INVDT~, INVDT+1, INVDT+2
VAOSUSR GETREC+24~, GETREC+25
VAOSUSR(0 GETREC+36
X TEST~, TEST+2*, TEST+3
Z TEST+1~, TEST+2*, TEST+5

Marked Items

Name Field # of Occurrence
$T(@Z^@X TEST+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All