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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDC

Package: Scheduling

Routine: SDC


Information

SDC ;MAN/GRR,ALB/LDB,LAB,BLB - CANCEL A CLINIC'S AVAILABILITY ;JAN 15, 2016

Source Information

Source file <SDC.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
Scheduling 11 ($$HANDLE,BEFORE,CANCEL)^SDAMEVT  (ASKL,CHKEND,END)^SDC0  (,DELETE)^SDC1  (,TC)^SDC2  $$COED^SDC4  SDEC^SDCNP0  CANCEL^SDCNSLT  DOW^SDM0  
$$EXAE^SDOE  EN^SDTMPHLC  (DTS,RT)^SDUTL  
VA FileMan 5 ^%DT  NOW^%DTC  ^DIC  YN^DICN  (,UPDATE)^DIE  
Registration 1 LO^DGUTL  

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

Package Total Caller Graph
Scheduling 2 SDC2  SDCANCEL  

Entry Points

Name Comments DBIA/ICR reference
SDC1
N
W
WP
F
T
ROPT
SKIP
S
ALL
C
B
MORE
CK1
EVT ; -- separate tag if need to NEW vars
; -- cancel event

External References

Name Field # of Occurrence
^%DT SDC1+2
NOW^%DTC SDC1+3
LO^DGUTL SDC1
^DIC SDC1+1
YN^DICN WWP
^DIE C+14
UPDATE^DIE ALL+6
$$HANDLE^SDAMEVT C+7
BEFORE^SDAMEVT C+8
CANCEL^SDAMEVT EVT+3
ASKL^SDC0 SDC1+8
CHKEND^SDC0 C
END^SDC0 SDC1+1, SDC1+2, N+3
^SDC1 N+3
DELETE^SDC1 C+4, C+5
^SDC2 N+4
TC^SDC2 FT
$$COED^SDC4 W+1, T+2
SDEC^SDCNP0 C+15
CANCEL^SDCNSLT C+13
DOW^SDM0 B
$$EXAE^SDOE CK1+2
EN^SDTMPHLC SKIP+6, ALL+9
DTS^SDUTL SDC1+5, SDC1+6
RT^SDUTL MORE+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,*7,"CLINIC DOES NOT MEET ON THAT DAY"
  • Line Location: SDC1+4
Function Call: WRITE
  • Prompt: Y,SDRE1
  • Line Location: SDC1+6
Function Call: WRITE
  • Prompt: !,"APPOINTMENTS HAVE ALREADY BEEN CANCELLED",!,*7
  • Line Location: SDC1+8
Function Call: WRITE
  • Prompt: !,*7,"CLINIC DOES NOT MEET ON THAT DAY"
  • Line Location: SDC1+9
Function Call: WRITE
  • Prompt: !,*7,"CLINIC DOES NOT MEET ON THAT DAY"
  • Line Location: N+0
Function Call: WRITE
  • Prompt: *7,!?5,"NO APPOINTMENTS SCHEDULED"
  • Line Location: N+1
Function Call: WRITE
  • Prompt: !,"FIRST, I'LL LIST THE EXISTING APPOINTMENTS",!
  • Line Location: N+2
Function Call: WRITE
  • Prompt: W
  • Line Location: W+0
Function Call: WRITE
  • Prompt: !,"REPLY YES (Y) OR NO (N)"
  • Line Location: W+0
Function Call: WRITE
  • Prompt: !,"REPLY YES (Y) OR NO (N)"
  • Line Location: WP+0
Function Call: READ
  • Formatting: !
  • Prompt: "STARTING TIME: "
  • Variable: X
  • Timeout: DTIME
  • Line Location: F+0
Function Call: READ
  • Formatting: !
  • Prompt: "ENDING TIME: "
  • Variable: X
  • Timeout: DTIME
  • Line Location: T+0
Function Call: WRITE
  • Prompt: !,"Ending time must be greater than starting time",*7
  • Line Location: T+0
Function Call: WRITE
  • Prompt: !
  • Line Location: T+2
Function Call: READ
  • Formatting: !
  • Prompt: "Reason for cancellation: "
  • Variable: I
  • Timeout: DTIME
  • Line Location: ROPT+0
Function Call: WRITE
  • Prompt: !,"YOU MAY ENTER A MESSAGE CONCERNING THE CANCELLATION HERE"
  • Line Location: ROPT+0
Function Call: READ
  • Variable: CANREM
  • Timeout: DTIME
  • Line Location: ALL+1
Function Call: WRITE
  • Prompt: !,"Reason for cancellation: "
  • Line Location: ALL+1
Function Call: WRITE
  • Prompt: !,*7,"Reason must be between 3 to 160 characters long",!
  • Line Location: ALL+1
Function Call: WRITE
  • Prompt: !!,"CANCELLED! "
  • Line Location: C+0
Routine Call
  • DIC
  • Line Location:
    • SDC1+1
Routine Call
  • DIE
  • Line Location:
    • C+14
Routine Call
  • DIE
  • Line Location:
    • ALL+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DG(40.8 - [#40.8] SDC1+8, MORE+1
^DPT - [#2] C+10, C+14, CK1
^DPT("ASDCN" C+12*
^DPT("ASDPSD" MORE+1, CK1+3!
^SC - [#44] SDC1+1, SDC1+4, SDC1+5, SDC1+7*, SDC1+8, NN+1, N+4, ROPT+2*, ROPT+3*
, SKIP*, SKIP+1, SKIP+2*, SCC+3, C+4, C+5, C+6, C+7
C+9*, BMORE+1
^SC("AAS" CK1+1
^SC("ARAD" MORE
^SCE - [#409.68] CK1+2

Label References

Name Line Occurrences
ALL W+1, ALL+1
B SDC1+7
C SKIP+8, C+16
CK1 MORE+4
EVT MORE+4
F FT+2
MORE C+14
N SDC1+7
ROPT ROPT
S SKIP+2, ALL+8
SDC1 SDC1+4, SDC1+6, N
SKIP ROPT+2
T T
W N+1, W
WP W+1, WP

Naked Globals

Name Field # of Occurrence
^( B, MORE*, MORE+1!, CK1
^("C" C+4
^("CAN" S*
^("I" SDC1+5
^("MES" SKIP+2*
^("SL" SDC1+2
^(0 SDC1+7*, SDC1+8, C+10, C+14*, MORE+1, CK1
^(1 SDC1+8, SKIP+2, SKIP+5*, ALL+8*, B

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % SDC1+3*, W*, W+1, W+2, WP*, WP+1, FSKIP+2, SKIP+3
%DT SDC1+2*!
%DT("A" SDC1+2*
>> A ROPT+3*
>> ANS SDC1+8*
CANREM ROPT+1~*, SKIP+6, ALL~, ALL+1*, ALL+4, C+13, C+15
>> CDATE SDC1+3*
>> DA C+14*
>> DA(1 B*
>> DFN C+7*, C+8, C+10, C+12, C+14, C+15, MOREMORE+1, CK1CK1+1
CK1+2, CK1+3, EVT+3
DH SDC1+7*, W*, SKIP+3*, SKIP+5*, C+13*, C+14*, B*, MORE+3, MORE+4*, EVT+2~
>> DIC SDC1+1*
>> DIC("A" SDC1+1*!
>> DIC("S" SDC1+1*!
>> DIC(0 SDC1+1*
DIE C+1~, C+14*
>> DO B*
>> DOW SDC1+7, B*
DR C+1~, C+14*
DTIME FTROPTALL+1
DTOUT N+3!
DUOUT N+3!
DUZ C+14, C+15
FR F*, TT+1, T+2!, ROPT+2, ROPT+3, SKIPSKIP+1, SKIP+2, SKIP+6
SKIP+7*, ALL+8*, C*, C+3, C+4, C+5, C+6, C+7, C+8, C+9
C+10, C+12, C+13, C+14, C+15, MOREMORE+1, MORE+3, CK1CK1+1
CK1+2, CK1+3, EVT+2~
FULLDAY SDC+3~, W+1*
FULLDAYCANCELFDA ALL~, ALL+6!
FULLDAYCANCELFDA( ALL+3*, ALL+4*
FULLDAYCANCELIEN ALL~
FULLDAYCANCELIEN(1 ALL+5*
I ROPT*, ROPT+1, ROPT+2, SKIP+2*, SKIP+3*, SKIP+4*, SKIP+5, EVT+2~
I5 SKIP+4*!
J C+4*!, C+5*!
J2 C+4*!, C+5*!
>> NOAP SDC1*, N+1*, SKIP+1*
NODE C+1~, C+10*, C+11
>> P SKIP+3*
SC SDC1+2*, SDC1+4, SDC1+5, SDC1+7, SDC1+8, NN+1, N+4, W+1, T+2
ROPT+2, ROPT+3, SKIPSKIP+1, SKIP+2, SKIP+6, SALL+3, ALL+4, ALL+9
CC+3, C+4, C+5, C+6, C+7, C+8, C+9, C+11, C+12
C+13, C+15, BMOREMORE+1, MORE+3, EVT+2~
>> SD SDC1+3*, SDC1+4, SDC1+6, SDC1+7, NN+1, N+4, W+1, SALL+3
ALL+5, ALL+8, ALL+9, B
SD1 MORE+5!, CK1*, CK1+1*
SDATA SDC+3~, C+8, EVT+3!
SDCNHDL SDC+3~, C+7*, C+8, EVT+3!
>> SDCNT ROPT+3*
SDCP SDC1!
SDDFR T+1~*, SKIP+2
SDH MORE+3*, MORE+4!
SDHTO T*, T+2!, SKIP
SDI C+1~, C+3*, C+4, C+5, C+6, C+7, C+8, C+9, C+13, MORE+3
SDIN SDC1+5!*, SDC1+6
SDIV MORE+1*, MORE+5!, CK1+3
SDLT SDC1!
SDPL C+13*, MORE+3*, MORE+5!, EVT+3
SDRE SDC1+5!*, SDC1+6
SDRE1 SDC1+5!*, SDC1+6
SDRT MORE+3*, MORE+5!
SDSC C+13*, MORE+3*, MORE+5!, EVT+3
SDTIME SDC1+3*, SDC1+8*, C+14, C+15, EVT+2~
SDTTM C+13*, MORE+3*, MORE+5!, EVT+3
>> SDV1 SDC1+8*, MORE+1*
SDX SDC1+8!, C!, MORE+5!, CK1*, CK1+1*, CK1+2*, CK1+3
>> SI SDC1+3*, SDC1+7, SKIP+3
>> SL SDC1+2*, SDC1+3
>> SS B*
ST F*, T+2!, SKIP+3
>> STARTDAY SDC1+3*
TDH C+1~, C+13*, C+14*
TMPD C+1~, C+13*
TO T*, T+1, T+2!, SKIP+1, SKIP+6, ALL+8*, C
U SDC1+2, SDC1+3, SDC1+7, FTC+11
>> X F*, T*, SKIP+2, SKIP+3*, B*
>> Y SDC1+1, SDC1+2, SDC1+3, SDC1+5*, SDC1+6*, FTSKIP+2*, SKIP+3*, B
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All