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

Package: Template Compare

Routine: ATSERCH6


Information

ATSERCH6 ;TUCSON/DG;DISPLAYS THE RESULTS FROM THE COMBINED SEARCH. ALSO ASKS USER FOR AND [ 10/25/91 1:22 PM ]

Source Information

Source file <ATSERCH6.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Template Compare 2 ^ATSERCH8  ^ATSERCHC  
Kernel 1 EN^XQH  
VA Fileman 1 YN^DICN  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Template Compare 1 ATSERCH  

Entry Points

Name Comments DBIA/ICR reference
MATCHES ;
EOJ ;
DISPLAY2 ;DISPLAY PARAMETERS
DISPLAYX ;IF TEMPLATES BEING COMPARED ARE THE SAME (ATSMTCH="")
PARAMS ;ASKS USER IF WANTS DISPLAY OF ALL DONE SO FAR
DISPLAY ;DISPLAYS ALL SEARCH PARAMETERS
LOOPCONT ;CONTS LOOP IN DISPLAY3 JUST BEFORE WRITE SEARCH PARAMETER
DISPLAY3 ;CONTINUATION OF FOR LOOP

External References

Name Field # of Occurrence
^ATSERCH8 ATSERCH6+10
^ATSERCHC DISPLAY3+1
YN^DICN PARAMS+2
EN^XQH PARAMS+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: *7
  • Line Location: MATCHES+1
Function Call: WRITE
  • Prompt: !!,"There was ",ATSEARCH("MERGE COUNT")," match associated with the ",$P(^DIC(ATSEARCH("FILELINK"),0),U)," file."
  • Line Location: MATCHES+2
Function Call: WRITE
  • Prompt: !!,"INTERMEDIATE RESULTS compared to itself via the",!," "_ATSEARCH(1,"FIELD")_" "_ATSEARCH(1,"FIELDNAME")_" field ["_ATSEARCH(1,"SRCHFILENAM")_"]"
  • Line Location: DISPLAY+2
Function Call: WRITE
  • Prompt: !!,"For entries in:",!,$S(ATSMTCH=1:ATSEARCH(1,"SRCHNAM")_" and also in "_ATSEARCH(2,"SRCHNAM"),ATSMTCH=2:ATSEARCH(1,"SRCHNAM")_" but not in "_ATSEARCH(2,"SRCHNAM"),1:ATSEARCH(2,"SRCHNAM")_" but not in "_ATSEARCH(1,"SRCHNAM"))
  • Line Location: DISPLAY+3
Function Call: WRITE
  • Prompt: !!,"Search specifications are as follows for the two templates:",!
  • Line Location: DISPLAY2+1
Function Call: WRITE
  • Prompt: !!,"Search specifications are as follows for the ",ATSEARCH(2,"SRCHNAM")," template."
  • Line Location: DISPLAY2+2
Function Call: WRITE
  • Prompt: !
  • Condition for execution: ATSLOOP=1&(ATSCT=2)&(ATSVAR=1)
  • Line Location: DISPLAY3+1
Function Call: WRITE
  • Prompt: !,@(ATSEARCH("SEARCHSPECS",ATSI,ATSCT)_ATSVAR_",0"_")")_ATSXVAR
  • Line Location: DISPLAY3+1
Function Call: WRITE
  • Prompt: !!,"Do you want a display of all you have done so far"
  • Line Location: PARAMS+2
Function Call: WRITE
  • Prompt: !!,ATSI,". ",$P(^UTILITY("ATSPECS",$J,ATSI,0),U)
  • Line Location: PARAMS+6
Function Call: WRITE
  • Prompt:
  • Condition for execution: ATSI'=1 !,$P(^(0),U,2) S ATSP=0 F L=0:0 S ATSP=$O(^UTILITY("ATSPECS",$J,ATSI,ATSP)) Q:ATSP'=+ATSP
  • Line Location: PARAMS+6
Function Call: WRITE
  • Prompt: !," ",^UTILITY("ATSPECS",$J,ATSI,ATSP)
  • Line Location: PARAMS+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC - [#1] MATCHES+1, MATCHES+2
^UTILITY("ATSEARCH" MATCHES+3
^UTILITY("ATSPECS" PARAMS+6

Label References

Name Line Occurrences
@( DISPLAY+4
DISPLAY ATSERCH6+8
DISPLAY3 DISPLAY2+3, DISPLAYX+1
EOJ ATSERCH6+7, ATSERCH6+12
LOOPCONT DISPLAY3+1
MATCHES ATSERCH6+6
PARAMS DISPLAY+5

Naked Globals

Name Field # of Occurrence
^(0 PARAMS+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DISPLAY+1!, PARAMS+2*, PARAMS+3, PARAMS+4, EOJ+1!
ATSAGAN ATSERCH6+9!, DISPLAY+5, PARAMS+3*, PARAMS+7*, EOJ+1!
ATSCT DISPLAY2+3*, DISPLAYX+1*, DISPLAY3+1, LOOPCONT+2, EOJ+1!
>> ATSEARCH("FILELINK" MATCHES+1, MATCHES+2, MATCHES+3*
>> ATSEARCH("MER GE COUNT" , MATCHES+1, MATCHES+2, MATCHES+3
>> ATSEARCH("SEARCHSPECS" DISPLAY2+3, DISPLAYX+1, DISPLAY3+1
>> ATSEARCH(1 DISPLAY+2, DISPLAY+3, LOOPCONT+2
>> ATSEARCH(2 DISPLAY+3, DISPLAY2+2, LOOPCONT+2
>> ATSEINRL DISPLAY+2, DISPLAY+4
>> ATSFLAG ATSERCH6+7, MATCHES+3*
ATSI DISPLAY2+3*, DISPLAYX+1*, DISPLAY3+1, LOOPCONT+2, PARAMS+6*, EOJ+1!
>> ATSL DISPLAY3+1*
>> ATSLOOP MATCHES+3, DISPLAY+5, DISPLAY2+1, DISPLAY2+3, DISPLAYX+1, DISPLAY3+1
>> ATSMTCH DISPLAY+2, DISPLAY+3, DISPLAY+4
ATSP PARAMS+6*, EOJ+1!
>> ATSVAR DISPLAY3+1*, LOOPCONT+2
>> ATSXVAR DISPLAY3+1, LOOPCONT+2*
IOF ATSERCH6+5, ATSERCH6+11, PARAMS+4, PARAMS+5
>> L DISPLAY+5*, DISPLAY2+3*, DISPLAYX+1*, PARAMS+6*
U MATCHES+1, MATCHES+2, PARAMS+6
>> XQH PARAMS+4*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All