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 - VISTA SCHEDULING RPCS ;JUN 21, 2017

Source Information

Source file <SDECIDX.m>

Call Graph

Call Graph

Call Graph Total: 6

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

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 GETREC+22, GETREC+23
ARGET^SDEC BLD40985+15
RECGET^SDEC BLD4035+15
REQGET^SDEC BLD123+15
WLGET^SDEC BLD4093+15
$$REQCHK^SDEC51 GETREC+21
RMG^SDECRMG BLD123+12, BLD4035+12, BLD4093+12, BLD40985+12
$$DT^XLFDT PURGE+3
$$FMADD^XLFDT PURGE+3

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TEST" TEST+4
^SD(403.5 - [#403.5] GETREC+11, GETREC+20
^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+12
, GETREC+14, GETREC+19, RECCNT+1

Label References

Name Line Occurrences
$$PC BLD123+19, BLD4035+19, BLD4093+19, BLD40985+19, GETREC+11, GETREC+20, GETREC+21, GETREC+22, GETREC+23, GETREC+25
$$TEST BLD123+1, BLD4035+1, BLD4093+1, BLD40985+1
$$TMPGBL GETREC+3
BLD BUILD+6
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+7
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+3*, BUILD+7, SETNODE+9*, SETNODE+12, SETNODE+13, SETNODE+14, SETNODEC~, SETNODEC+1, GETREC+1~
, GETREC+7*, GETREC+9, GETREC+13*, GETREC+14, GETREC+15*, GETREC+16, GETREC+19, GETREC+24*, GETREC+25, GETREC+26
DA SETXREF~, SETXREF+11
DATA GETREC~, GETREC+3*, GETREC+14, GETREC+16, GETREC+18, GETREC+25, GETREC+26, RECCNT~, RECCNT+1*
DFN BLD4035+10~, BLD4093+10~, BLD40985+10~
DLM BUILD+2~, BUILD+4*, BLD123+19, BLD4035+19, BLD4093+19, BLD40985+19, SETNODE+8, PC~, PC+1*, PC+2
, GETREC+1~, GETREC+2*, GETREC+11, GETREC+14, GETREC+20, GETREC+21, GETREC+22, GETREC+23, GETREC+25
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+19
LASTSUB BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~
LP BUILD+5*, BUILD+6, 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+14, GETREC+19*
, GETREC+20, GETREC+21, GETREC+22, GETREC+23, GETREC+25
MAXREC BLD123+10~, BLD4035+10~, BLD4093+10~, BLD40985+10~, GETREC~, GETREC+5*, GETREC+9, GETREC+19
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+12*, GETREC+16
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
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+17
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+25
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
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