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

Package: Scheduling

Routine: SDAMC


Information

SDAMC ;ALB/MJK - Cancel Appt Action ; 8/31/05 3:02pm ; 12/26/08 12:26pm ; 5/25/12 12:40pm

Source Information

Source file <SDAMC.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 5 ($$STATUS,BLD)^SDAM1  BLD^SDAM3  (BEGD,CHKSO)^SDCNP0  NOPE^SDCNP1  FLEN^SDCNP1A  
List Manager 2 (FULL,PAUSE)^VALM1  SEL^VALM2  
VA FileMan 2 ^DIC  ^DIR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Scheduling 2 SDAM APPT CANCEL  SDCNP1  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
RSN(SDWH) ;
EN ; -- protocol SDAM APPT CANCEL entry pt
; input: VALMY := array entries
RSN1
CAN(DFN,SDT,CNT,L,SDWH,SDCP,SDSCR,SDREM) ;
NOPE ;
CHK ; -- check if status of appt permits cancelling
REM() ;
ENQ
MES ; -- set error message
CANQ(SDFN,SDCLN) ; SD*5.3*554 - Passes in SDFN, SDCLN
WHO() ;
RSNQ

External References

Name Field # of Occurrence
^DIC RSN1
^DIR CANQ+8, WHO+2, REM+1
$$STATUS^SDAM1 CHK+2
BLD^SDAM1 EN+18
BLD^SDAM3 EN+19
BEGD^SDCNP0 CAN+6
CHKSO^SDCNP0 CAN+4
NOPE^SDCNP1 NOPE+3
FLEN^SDCNP1A CAN+4
FULL^VALM1 EN+11
PAUSE^VALM1 NOPE+4, CHK+4
SEL^VALM2 EN+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,^TMP("SDAM",$J,+SDAT,0)
  • Line Location: EN+17
Function Call: WRITE
  • Prompt: !!,"Appointment already cancelled"
  • Line Location: CAN+2
Function Call: WRITE
  • Prompt: !
  • Line Location: CAN+7
Function Call: WRITE
  • Prompt: !
  • Line Location: CANQ+8
Function Call: WRITE
  • Prompt: !
  • Line Location: CANQ+8
Function Call: WRITE
  • Prompt: !
  • Line Location: WHO+1
Function Call: WRITE
  • Prompt: !
  • Line Location: RSN1+0
Function Call: WRITE
  • Prompt: *7
  • Line Location: RSN1+2
Function Call: WRITE
  • Prompt: !
  • Line Location: REM+1
Routine Call
  • DIC
  • Line Location:
    • RSN1
Routine Call
  • DIR
  • Line Location:
    • CANQ+8
    • WHO+2
    • REM+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SD(409.2 - [#409.2] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] CAN+2, CAN+4, CHK+2
^SC - [#44] CANQ+7
^SD(409.63 - [#409.63] CHK+2
^SDWL(409.3 - [#409.3] CANQ+4, CANQ+5, CANQ+6
^TMP("SDAM" EN+17, CHK+3
^TMP("SDAMIDX" EN+17, CHK+2
^UTILITY($J EN+4!, CAN+4*, CAN+6, CAN+7!

Label References

Name Line Occurrences
$$REM EN+14
$$RSN EN+13
$$WHO EN+12
CAN EN+17
CHK EN+10
ENQ EN+10, EN+12, EN+13, EN+14
MES CAN+7
NOPE CAN+7
RSN1 RSN1+2
RSNQ RSN1+1

Naked Globals

Name Field # of Occurrence
^( EN+17, CHK+2
^(0 CAN+4, CHK+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A1 CAN+1~, CAN+6*
>> APL CAN+4*
APP CAN+6*, CANQ+9!
CNT EN+3~, EN+15*, EN+17, CAN~, CAN+7*, NOPE+2
COV CAN+4, CANQ+9!
DFN EN+7*, CAN~, CAN+2, CAN+4
DIC RSN1*!
DIC("S" RSN1*
DIC(0 RSN1*
DIR WHO+2!, REM+1!
DIR("A" WHO+1*
DIR("B" WHO+1*
DIR(0 CANQ+8*, WHO+1*, REM+1*
L EN+3~, EN+15*, EN+17*, CAN~, CAN+4, CAN+6, CAN+7*
NDT CAN+1~*, CAN+2, CAN+4
SC CAN+4*, CANQ+9!
SCLHOLD EN+3~, CAN+6*, CANQ+9!
>> SD0 CAN+4*
SDAMCIDT EN+3~
>> SDAMTYP EN+7, EN+18, EN+19
SDAT EN+3~, EN+17!*, CHK+2!*, CHK+3
SDCLN CANQ~, CANQ+3, CANQ+4, CANQ+5, CANQ+7, CANQ+9!
SDCP EN+3~, EN+12*, EN+17, CAN~
SDEND NOPE+1~
SDFN EN+7, CANQ~, CANQ+3, CANQ+6
SDI EN+3~, EN+15*, EN+17*, CHK+1~*, CHK+2*, CHK+4
SDMSG EN+3~, MES+1*
SDOMES CANQ+4~*, CANQ+5, CANQ+6*
SDPAUSE NOPE+1~, NOPE+2*, NOPE+4
SDREM EN+3~, EN+14*, EN+17, CAN~
SDSCR EN+3~, EN+13*, EN+17, CAN~
>> SDSP CAN+4
SDT CAN~, CAN+1
SDWH EN+3~, EN+12*, EN+13, EN+17, CAN~, RSN~, RSN1
SDWL CANQ+5~*, CANQ+6
>> TMPD EN+14*
U EN+17, CAN+2, CAN+6, CANQ+6, CANQ+7, CHK+2
>> VALMBCK EN+9*, EN+11*
VALMY EN+3~
VALMY( EN+17, CHK+2, CHK+4!
VALMY(0 EN+10
>> X RSN1+1, REM+2
>> Y WHO+3, RSN1+2, RSNQ, REM+2*, REM+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All