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 |  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 ; Compiled January 8, 2009 15:41:48

Source Information

Source file <SDAMC.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Scheduling 5 ($$STATUS,BLD)^SDAM1  BLD^SDAM3  (BEGD,CHKSO)^SDCNP0  NOPE^SDCNP1  FLEN^SDCNP1A  
Registration 2 (FULL,PAUSE)^VALM1  SEL^VALM2  
VA Fileman 2 ^DIC  ^DIR  
IHS Changes To ADT 1 (MSG,PAUSE)^BDGF  
IHS Changes To Scheduling 1 ($$CI,$$SCIEN)^BSDU2  

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 ;
WHO() ;
RSNQ

External References

Name Field # of Occurrence
MSG^BDGF CAN+9
PAUSE^BDGF CAN+9
$$CI^BSDU2 CAN+9
$$SCIEN^BSDU2 CAN+4
^DIC RSN1
^DIR CANQ+8, WHO+2, REM+1
$$STATUS^SDAM1 CHK+2
BLD^SDAM1 EN+17
BLD^SDAM3 EN+18
BEGD^SDCNP0 CAN+17
CHKSO^SDCNP0 CAN+15
NOPE^SDCNP1 NOPE+3
FLEN^SDCNP1A CAN+15
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+16
Function Call: WRITE
  • Prompt: !!,"Appointment already cancelled"
  • Line Location: CAN+2
Function Call: WRITE
  • Prompt: !!,"Appointment cancelled"
  • Line Location: CAN+8
Function Call: WRITE
  • Prompt: !
  • Line Location: CAN+18
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, CAN+7*, CAN+15, CHK+2
^SC - [#44] CAN+14, CANQ+7
^SD(409.63 - [#409.63] CHK+2
^SDWL(409.3 - [#409.3] CANQ+4, CANQ+5, CANQ+6
^TMP("SDAM" EN+16, CHK+3
^TMP("SDAMIDX" EN+16, CHK+2
^UTILITY($J EN+4!, CAN+15*, CAN+17, CAN+18!

Label References

Name Line Occurrences
$$REM EN+14
$$RSN EN+13
$$WHO EN+12
CAN EN+16
CANQ CAN+2, CAN+6
CHK EN+10
ENQ EN+10, EN+12, EN+13, EN+14
MES CAN+18
NOPE CAN+18
RSN1 RSN1+2
RSNQ RSN1+1

Naked Globals

Name Field # of Occurrence
^( EN+16, CHK+2
^(0 CAN+15, CHK+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A1 CAN+1~, CAN+17*
>> APL CAN+15*
APP CAN+17*, CANQ+10!
C CAN+4~*, CAN+9, CAN+14
CNT EN+3~, EN+15*, EN+16, CAN~, CAN+18*, NOPE+2
COV CAN+15, CANQ+10!
DFN EN+7*, CAN~, CAN+2, CAN+4, CAN+7, CAN+9, CAN+15
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*
IEN CAN+4~*, CAN+6, CAN+9, CAN+14
L EN+3~, EN+15*, EN+16, CAN~, CAN+15*, CAN+17, CAN+18*
NDT CAN+1~*, CAN+2, CAN+4, CAN+7, CAN+9, CAN+15
SC CAN+15*, CANQ+10!
SCLHOLD EN+3~, CAN+17*, CANQ+3, CANQ+10!
>> SD0 CAN+15*
SDAMCIDT EN+3~
>> SDAMTYP EN+7, EN+17, EN+18, CANQ+9
SDAT EN+3~, EN+16!*, CHK+2!*, CHK+3
SDCLN CANQ+3*, CANQ+4, CANQ+5, CANQ+7, CANQ+9!
SDCP EN+3~, EN+12*, EN+16, CAN~
SDEND NOPE+1~
>> SDFN EN+7, CANQ+6
SDI EN+3~, EN+15*, EN+16*, 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+16, CAN~, CAN+14*
SDSCR EN+3~, EN+13*, EN+16, CAN~
>> SDSP CAN+15
SDT CAN~, CAN+1, CAN+14
SDWH EN+3~, EN+12*, EN+13, EN+16, CAN~, RSN~, RSN1
SDWL CANQ+5~*, CANQ+6
>> TMPD EN+14*
U EN+16, CAN+2, CAN+7, CAN+14, CAN+17, CANQ+6, CANQ+7, CHK+2
>> VALMBCK EN+9*, EN+11*
VALMY EN+3~
VALMY( EN+16, CHK+2, CHK+4!
VALMY(0 EN+10
X CAN+14~*, RSN1+1, REM+2
>> Y WHO+3, RSN1+2, RSNQ, REM+2*, REM+3
Info |  Source |  Call 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