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 |  Marked Items |  All
Print Page as PDF
Routine: SDMULT0

Package: Scheduling

Routine: SDMULT0


Information

SDMULT0 ;ALB/TMP - MAKE MULTI-CLINIC APPOINTMENTS ; 18 APR 86

Source Information

Source file <SDMULT0.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 4 DOW^SDM0  1^SDMULT  FND^SDMULT1  DTS^SDUTL  
VA Fileman 4 ^%DT  C^%DTC  YN^DICN  DT^DIQ  
Registration 1 KVAR^VADPT  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Scheduling 4 SDM0  SDMULT  SDMULT1  SDNEXT  

Entry Points

Name Comments DBIA/ICR reference
OVR
A
OK
LOOKA
LIM
S1
NEXT
START
DAY ;;^SUN^MON^TUES^WEDNES^THURS^FRI^SATUR
AV
END
DT
CHECK
LOOP

External References

Name Field # of Occurrence
^%DT DT, LIM+2
C^%DTC NEXT
YN^DICN OK
DT^DIQ LIM
DOW^SDM0 LOOP+2
1^SDMULT END+3
FND^SDMULT1 A+1, A+4
DTS^SDUTL LIM+1
KVAR^VADPT END+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$P(SDC1(I),"^",1),?45,+$P(SDC1(I),"^",2)," MINUTE APPOINTMENT"
  • Line Location: START+0
Function Call: WRITE
  • Prompt: !,"RESPOND YES (Y) OR NO (N)"
  • Line Location: OK+0
Function Call: WRITE
  • Prompt: !
  • Line Location: OK+1
Function Call: READ
  • Prompt: "// "
  • Timeout: DTIME
  • Variable: X
  • Line Location: LIM+0
Function Call: WRITE
  • Prompt: !,"SELECT LATEST DATE TO CHECK FOR AVAILABLE SLOTS: "
  • Line Location: LIM+0
Function Call: WRITE
  • Prompt: !," The latest date for future bookings (based on the limits from the selected",!," clinics) is: "
  • Line Location: LIM+1
Function Call: WRITE
  • Prompt: Y," If you enter a date here, it must be less than this",!," date to further limit the search"
  • Line Location: LIM+1
Function Call: WRITE
  • Prompt: !,*7,"No 'SL' node defined - cannot proceed with this clinic"
  • Line Location: AV+0
Function Call: WRITE
  • Prompt: !,"NO AVAILABILITY FOUND"
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !
  • Line Location: END+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^HOLIDAY - [#40.5] LOOP+1
^SC - [#44] AV, AV+2, AV+4, AV+5, LOOP, LOOP+1, LOOP+2, LOOP+3, LOOP+4*

Label References

Name Line Occurrences
A LOOKA+1
AV OVR, LOOKA
CHECK LOOP+1
DAY LOOP+4
DT DT
END OK+1, DT, LIM, A, A+4
LIM LIM+1, LIM+2
LOOKA A+3
LOOP NEXT
NEXT LOOP+1, LOOP+2, LOOP+3
OK OK
OVR LIM
S1 OVR, LOOKA

Naked Globals

Name Field # of Occurrence
^("SL" AV
^(1 LOOP+1, LOOP+3, LOOP+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% OK*, OK+1, END+2!
%DT DT*!, LIM+2*!
%DT("A" DT*
%DT(0 DT*, LIM+2*
A S1*, END+2!
CNT CHECK*, CHECK+1*, END+2!
DTIME LIM
>> FND OVR, A, LOOKA, AV+4*, LOOP+4*, CHECK*, CHECK+1*, CHECK+2
G1 OVR*, LOOKA*, S1, END+2!
I START*, A+2*, END+2!
>> J AV+4*, CHECK+1*
K CHECK+1*, END+2!
LINE END+2!
LINE1 END+2!
S END+2!
S1 END+2!
SB END!
SC AV, AV+2, AV+4, AV+5, LOOP, LOOP+1, LOOP+2, LOOP+3, LOOP+4, S1*
, END!
SD END+2!
SD1 OVR*, LOOKA*, END+2!
SDAPP OVR, A+3, LOOKA, AV+4!, LOOP+4*, CHECK+1*
SDATE AV+6*, LOOP, LOOP+1, LOOP+2, LOOP+3, LOOP+4, CHECK+1, NEXT*, END+2!
SDATE1 LOOP+2*, LOOP+3, END+2!
SDC END+2!
SDC( OVR, LOOKA, S1
SDC1 END+2!
SDC1( START, AV+2
SDCT A+2, END+2!
SDDIF AV+3*, CHECK+1, END!
SDDOT AV+4*, NEXT*, END+2!
SDDT END+2!
SDDT( OVR*, A+2, LOOKA*
SDINC AV+2*, AV+3*, END+2!
SDINCM AV+2*, END+2!
SDJ AV+4!, AV+5, LOOP, END+2!
SDJ( AV+4*, LOOP+2, LOOP+3!
SDL END+2!
SDLEN AV+2*, END+2!
SDMADE END+2!
SDMAX DT, LIM, LIM+1, LIM+2*, LOOKA, LOOP+3, NEXT, END+2!
SDMLT1 END+3!
>> SDNEXT A, A+1, END, END+3
SDNO A+2*, A+3, END+2!
SDNS AV+2*, CHECK+1, END+2!
SDP LOOP+1*, LOOP+4*, CHECK, CHECK+1, END+2!
SDSI AV+1*, LOOP+4, END+2!
SDSL END+2!
SDSOH AV+1*, LOOP+1, END+2!
SDST CHECK*, CHECK+1, END+2!
SDSTR AV+2*, CHECK+1, END+2!
SDSTRTDT DT*, LIM+2, OVR*, A+3*, LOOKA*, AV+5, AV+6, END+2!
SDV END+2!
SDW END!
SDXXX S1*, END+2!
SDZ LOOP+2*, LOOP+3*, LOOP+4, END!
SI END!
SL AV*, AV+1, AV+2, END!
SM END+2!
STARTDAY END!
STM END+2!
STR END!
>> STX CHECK+1*
U AV+1, LOOP+4
X DT, LIM*, LIM+1, AV+1*, LOOP+2*, NEXT*, END+2!
X1 NEXT*, END+2!
X2 NEXT*, END+2!
Y DT, LIM*, LIM+1*, LIM+2, LOOP+2, LOOP+3, LOOP+4, END+2!
Y1 END+2!
Z END+2!
ZZ END+2!

Marked Items

Name Field # of Occurrence
$T(DAY LOOP+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All