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

Package: Scheduling

Routine: SDB1


Information

SDB1 ;ALB/GRR - SET UP A CLINIC ;JAN 15, 2016

Source Information

Source file <SDB1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Scheduling 5 OVR^SDAUT1  G1^SDB  SDRES^SDECUTL2  DOW^SDM0  DTS^SDUTL  
VA FileMan 5 C^%DTC  WAIT^DICD  YN^DICN  DT^DIO2  DT^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: 4

Package Total Caller Graph
Scheduling 4 SDAUT1  SDB  SDB0  SDEC12  

Entry Points

Name Comments DBIA/ICR reference
B1
SETX
X
SM
I
X2
DEL1
D
R
EN1
1
11
OVR
APPCK
APPERR
DELERR
CHK1
CHK2
OB
HLPD
TX

External References

Name Field # of Occurrence
C^%DTC X2+1, D+4, OVR+1, CHK2+2
WAIT^DICD EN1+4
YN^DICN R11APPERR
DT^DIO2 D+3, D+5, 11
DT^DIQ DELERR
OVR^SDAUT1 EN1+4
G1^SDB EN1EN1+4, 11+3, OVROVR+1, HLPD+1
SDRES^SDECUTL2 11+2
DOW^SDM0 D+3, D+4, CHK2+2
DTS^SDUTL CHK2+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,*7,*7,"DELETE "
  • Line Location: DEL1+0
Function Call: WRITE
  • Prompt: $P("SUN^MON^TUES^WEDNES^THURS^FRI^SATUR",U,DOW+1),"DAYS "
  • Line Location: D+1
Function Call: WRITE
  • Prompt: "UNTIL "
  • Line Location: D+3
Function Call: WRITE
  • Prompt: " UNTIL "
  • Line Location: D+5
Function Call: WRITE
  • Prompt: "INDEFINITELY"
  • Line Location: D+6
Function Call: WRITE
  • Prompt: !,"REPLY YES (Y) OR NO (N)"
  • Line Location: R+0
Function Call: WRITE
  • Prompt: !,"REPLY YES (Y) OR NO (N)"
  • Line Location: 11+0
Function Call: WRITE
  • Prompt: *7,!,"THERE ARE ALREADY APPOINTMENTS PENDING ON THIS DATE",!,"ARE YOU SURE YOU WANT TO CHANGE THE EXISTING AVAILABILITY"
  • Line Location: APPERR+0
Function Call: WRITE
  • Prompt: !,"IF YOU SAY YES, THE EXISTING APPOINTMENTS MAY BECOME OVERBOOKS WHEN THE NEW AVAILABILITY IS APPLIED",!,"ANSWER YES OR NO"
  • Line Location: APPERR+1
Function Call: WRITE
  • Prompt: !,"... "
  • Line Location: DELERR+0
Function Call: WRITE
  • Prompt: " HAS PENDING APPTS - DELETE AVAILABILITY NOT ALLOWED"
  • Line Location: DELERR+0
Function Call: WRITE
  • Prompt: !,"ENTER THE DATE THIS CLINIC BECOMES AVAILABLE TO SEE PATIENTS"
  • Line Location: HLPD+0
Function Call: WRITE
  • Prompt: !,"THE DATE ENTERED WILL BE THE FIRST DATE THAT APPOINTMENTS CAN",!,"BE MADE FOR THIS CLINIC"
  • Line Location: HLPD+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] 11
^SC - [#44] SETXXX+1, X+2!, X+4, I+1, I+2, I+3, I+4*, I+5
I+6!, D+2, D+3, EN1+1!*, EN1+2, EN1+3*, 11+5*, APPCK, OB*, OB+1!
TX
^TMP("SDAVAIL" X*

Label References

Name Line Occurrences
1 EN1OVROVR+1
11 11
APPCK 111+4
APPERR 11+4, APPERR+1
B1 EN1+4, 11+5
CHK1 EN1+1
CHK2 11OVROVR+1
DELERR 1
I I+3
OB I+2
OVR 11111+3, 11+4
R D+3, D+5, R
SM X+1
TX EN1+1, EN1+2, EN1+3
X X2+2
X2 X+3, X+4

Naked Globals

Name Field # of Occurrence
^( X+2, I+1, EN1+1, EN1+2*
^("SL" SETXD+2
^(0 I+4*, I+6*, EN1+1*, EN1+2*, EN1+3*, 11+5*, TX*
^(1 XI+4*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % R*, EN1, 11*, 11+1, 11+3, 11+4, APPERR*, APPERR+1
>> A APPCK*
>> CNT EN1+4
>> CTR D+1*, CHK2+3*
>> D EN1*, 1111+5, OVR*, OVR+1*, APPCKDELERRCHK2CHK2+1, CHK2+2*
>> D0 DD+3, D+4, D+5, EN1EN1+1, EN1+2, EN1+4
>> DA SETXXX+1, X+2, X+4, I+1, I+2, I+3, I+4, I+5
I+6, D+2, D+3, EN1+1, EN1+2, EN1+3, EN1+4, 11+2, 11+5, APPCK
OBOB+1, TX
>> DH SM, DEL1*, D+1*, EN1+3
>> DO XX+1, DEL1*, D+3*, D+5*, D+6*, EN1+3, 11+5*
>> DOW SMD+1, D+3, D+4, EN1+1, EN1+2, EN1+3, CHK2+2, TX
>> DR B1*, X+1*, X+2, X+3, X+4*, II+1, I+2, I+3*, OB
OB+1
DT X+1
HSI B1+1~, SETX*, I+2
>> I I*, I+2*, D+4*, CHK2+2*
>> MAX EN1+4*
OK D+1*, D+4*, D+5, R!
>> POP EN1+1*, 1*, 11*, 11+4*, OVR*, OVR+1*, APPCK*, CHK1+1*, CHK2+1*, CHK2+2*
CHK2+3
>> S I*, I+2*, I+3
>> SB B1*, I
>> SC EN1+4*
>> SD EN1+4
>> SDA1 APPCK*
>> SDCAN I+5*, I+6
SDCNT I+5~, I+6*
>> SDEL DEL1*, 1
SDIN DD+4, 11OVROVR+1, CHK1CHK1+1, CHK2!, CHK2+1, CHK2+2
CHK2+3
>> SDONE B1*
>> SDPAT SM*, I+4
>> SDRE DD+4, CHK2CHK2+1, CHK2+2
>> SDRE1 D*, D+4*, CHK2+3
>> SDREACT 11+5*
>> SDREB 11+4*
>> SDSAV X+1*, X+4*, SM*
SDSI B1+1~, SETX*, I+2
SDSL B1+1~, SETX*, I+2*
SDSLOT OB*!, OB+1!
SDSOH B1+1~, SETX*, D+2*, 11
>> SDSTRTDT EN1+4*
SDX B1+1~, SETX*
>> SDZQ EN1+4
SI B1+1~, SETX*, SMI
SL B1+1~, SETX*, I+2
>> SM SM*, I*, I+3*, I+4
>> ST I+2*, OB
STARTDAY B1B1+1~, SETX*
>> STR B1*, I+2, OB
U SETXSMI+1, I+2, I+6, D+1
>> X XX+1, X+2, X+3, X+4, SMI+3, I+4, I+5, X2*
X2+1, DEL1*, D+1, D+3*, D+4*, D+5, EN1+1*, EN1+4*, 11+5*, OVR+1
CHK2+2*
>> X1 X2+1*, D+4*, OVR+1*, CHK2+2*
>> X2 X2+1*, D+4*, OVR+1*, CHK2+2*
>> Y I+1*, I+2, D+3*, D+4, D+5*, EN1+1*, EN1+2, 11*, DELERR*, CHK1+1
CHK2+2, CHK2+3*, OBOB+1
>> Y1 CHK2+3*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All