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

Package: Surgery

Routine: SRSCAN2


Information

SRSCAN2 ;BIR/MAM - MAKE NEW REQUEST WHEN CANCELLED ;08/10/2011

Source Information

Source file <SRSCAN2.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
VA FileMan 7 ^%DT  (C,H,NOW)^%DTC  %XY^%RCR  ^DIC  FILE^DICN  (,FILE)^DIE  D^DIQ  
Surgery 3 ^SROERR  ^SROXRET  LATE^SRSREQ  

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

Package Total Caller Graph
Surgery 1 SRSCAN0  

Entry Points

Name Comments DBIA/ICR reference
START
DATE
HELP
NEWDT ; get six month default date for new request
CHK ; check for valid request date
DAY ; get valid default request date

External References

Name Field # of Occurrence
^%DT DATE
C^%DTC DAY+1, DAY+5
H^%DTC DAY+4
NOW^%DTC DATE+6, DATE+13, DAY+6
%XY^%RCR DATE+3
^DIC DAY+2, DAY+5
FILE^DICN DATE+2
^DIE DATE+7, DATE+8, DATE+9, DATE+11, DATE+12, DATE+13
FILE^DIE DATE+6
D^DIQ NEWDT+1
^SROERR DATE+15
^SROXRET DATE+11
LATE^SRSREQ CHK+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: SRYN
  • Timeout: DTIME
  • Line Location: START+0
Function Call: WRITE
  • Prompt: !!,"Enter 'YES' to automatically move the information contained in this scheduled",!,"case to a new request, or 'NO' to not create a new request."
  • Line Location: START+2
Function Call: WRITE
  • Prompt: !!,"Creating the new request..."
  • Line Location: DATE+1
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: HELP+0
Function Call: WRITE
  • Prompt: !!,"Enter 'YES' to select another date, or 'NO' to bypass making a new request."
  • Line Location: HELP+1
Routine Call
  • DIC
  • Line Location:
    • DAY+2
    • DAY+5
Routine Call
  • DIE
  • Line Location:
    • DATE+7
    • DATE+8
    • DATE+9
    • DATE+11
    • DATE+12
    • DATE+13
Routine Call
  • DIE
  • Line Location:
    • DATE+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SRF - [#130] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SRF - [#130] DATE+3!, DATE+4, DATE+5!*, DATE+10, DATE+11, DATE+12, DATE+14*, NEWDT+1
^SRO(133 - [#133] DAY+3, DAY+4, DAY+5

Label References

Name Line Occurrences
CHK DATE+1
DATE DATEDATE+1
DAY NEWDT+1, DAY+1, DAY+3, DAY+4, DAY+5, DAY+6
HELP DATEHELP+1
NEWDT START+4
START START+2

Naked Globals

Name Field # of Occurrence
^( DATE+4
^(31 DATE+14*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % DATE+6, DATE+13, DAY+6
%DT DATE!*
%DT("A" DATE*
%DT("B" DATE*
>> %X DATE+3*
>> %Y DATE+3*, DAY+4
DA DATE+2!, DATE+7*, DATE+8!*, DATE+9*, DATE+11!*, DATE+12*!, DATE+13*
DD DATE+2!
DIC DATE+2!*, DAY+2!*, DAY+5*!
DIC(0 DATE+2*, DAY+2*, DAY+5*
DIE DATE+7*, DATE+8*, DATE+9*, DATE+11!*, DATE+12*, DATE+13*
DINUM DATE+2!
DLAYGO DATE+2*!
DO DATE+2!
DR DATE+7*, DATE+8!*, DATE+9!*, DATE+11!*, DATE+12*!, DATE+13*!
DT DAY+1
DTIME STARTHELP
DUZ DATE+6
>> OK DATE*, HELP*, HELP+2*
>> SRATT DATE+10*, DATE+11
>> SRCAN DATE+13*
SRCHK NEWDT+1!
>> SRDAY DAY+4*
>> SRDL DAY+4*, DAY+5
>> SRDTL DAY+5*, DAY+6
SREQ DATE+6~
SREQ(130 DATE+6*
SRLATE DATE+1, CHK+1!
>> SRNEWDT DATE+1*, DATE+7
>> SRSCPT DATE+4*
SRSDATE CHK+1~*
>> SRSDOC DATE+4*, DATE+11
>> SRSDPT DATE+2
>> SRSITE DAY+3, DAY+4, DAY+5
>> SRSITE("REQ" DAY+5, DAY+6
>> SRSOP DATE+4*, DATE+7, DATE+9
>> SRTCHK DAY+6*
>> SRTN DATE+10, DATE+11*, DATE+15*
>> SRTNEW DATE+2*, DATE+3, DATE+4, DATE+5, DATE+6, DATE+7, DATE+8, DATE+9, DATE+11, DATE+12
DATE+13, DATE+15
>> SRTOLD DATE+3, DATE+9, DATE+13, DATE+14, DATE+15, NEWDT+1
>> SRX DATE+1*, NEWDT+1, CHK+1, DAY+2*, DAY+4, DAY+5
>> SRX1 NEWDT+1*, DAY+1*
>> SRX2 NEWDT+1*, DAY+1*, DAY+3*, DAY+4*, DAY+5*, DAY+6*
>> SRY DATENEWDT+1*
>> SRYN START*, START+1*, START+2, START+3
>> X DATE+2*, HELP*, HELP+1*, HELP+2, DAY+1, DAY+2, DAY+3, DAY+4*, DAY+5
>> X1 DAY+1*, DAY+5*
>> X2 DAY+1*, DAY+5*
>> Y DATEDATE+1, DATE+2, NEWDT+1*, DAY+3, DAY+5
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