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

Package: Template Compare

Routine: ATSERCH5


Information

ATSERCH5 ;TUCSON/DG;ASKS USER AND PROVIDES INSTRUCTION FOR STOPPING OR CONTINUING [ 10/25/91 1:37 PM ]

Source Information

Source file <ATSERCH5.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 3 ^DIC  YN^DICN  ^DIE  
Kernel 1 EN^XQH  
Template Compare 1 COMPMERG^ATSERCHI  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Template Compare 1 ATSERCH  

Entry Points

Name Comments DBIA/ICR reference
SEARCH ;CREATES RESULTS AND SPECIFCATION NODES IN ^DIBT(ATSETMP,
HELP ;HELP FOR CHOOSE MODULE
COMPMERG ;SETS VARIABLES TO COMPARE MERGED RESULTS WITH NEXT TEMPLATE
EOJ ;
CHOOSE1 ;WRITES MENU
HELP2 ;HELP FOR CALLSORT MODULE MENU
CHOOSE ;DISPLAYS MENU - COMPARE AGAIN, CREATE TEMPLATE, OR STOP
CALLSRT1 ;CONTINUE MENU DISPLAY FROM CALLSORT
TEST ;SEE IF USER HATTED OUT OF [ATSDESC]
CALLSORT ; - EP - CALL TO SORTEMP TO CREATE SORT TEMPLATE
SORTEMP ;CREATES SORT TEMPLATE WITH MERGED SEARCH RESULTS

External References

Name Field # of Occurrence
COMPMERG^ATSERCHI CHOOSE+4
^DIC SORTEMP+3
YN^DICN SORTEMP+7
^DIE SORTEMP+10
EN^XQH HELP+1, HELP2+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Prompt: "Your choice (1-4): "
  • Formatting: !!
  • Timeout: DTIME
  • Variable: X
  • Line Location: CHOOSE+1
Function Call: WRITE
  • Prompt: !!,"Select by number one of the following:",!!,1," Create search template to be linked to the ",$P(^DIC(ATSEARCH("FILELINK"),0),U)," file",$S(ATSRCSTR:" (NOT AVAILABLE)",1:"")
  • Line Location: CHOOSE1+1
Function Call: WRITE
  • Prompt: !,2," Compare the Intermediate Results with another search template"
  • Line Location: CHOOSE1+2
Function Call: WRITE
  • Prompt: !,3," Compare the Intermediate Results to itself so as to utilize a pointer field"
  • Line Location: CHOOSE1+3
Function Call: WRITE
  • Prompt: !," within the ",$P(^DIC(ATSEARCH("FILELINK"),0),U)," file as a basis for comparison"
  • Line Location: CHOOSE1+4
Function Call: WRITE
  • Prompt: !,4," Stop without storing results and without continuing search result comparison"
  • Line Location: CHOOSE1+5
Function Call: WRITE
  • Prompt: !,4," Stop search comparison"
  • Line Location: CHOOSE1+6
Function Call: READ
  • Prompt: "Your choice (1 or 2): "
  • Formatting: !!
  • Timeout: DTIME
  • Variable: X
  • Line Location: CALLSORT+1
Function Call: WRITE
  • Prompt: !!,"Select by number one of the following:",!!,1," Create search template to be linked to the ",$P(^DIC(ATSEARCH("FILELINK"),0),U)," file"
  • Line Location: CALLSRT1+3
Function Call: WRITE
  • Prompt: !,2," Stop without storing results"
  • Line Location: CALLSRT1+4
Function Call: WRITE
  • Prompt: !
  • Line Location: SORTEMP+3
Function Call: WRITE
  • Prompt: !!,*7,"You cannot store results in a template used only for sort purposes."
  • Line Location: SORTEMP+5
Function Call: WRITE
  • Prompt: !!,*7,"Results already stored in this template. Do you want to have",!,"the stored data deleted"
  • Line Location: SORTEMP+7
Function Call: WRITE
  • Prompt: !!,*7,"End of search comparison. Results not stored."
  • Line Location: SORTEMP+12
Function Call: WRITE
  • Prompt: "."
  • Line Location: SEARCH+2
Function Call: WRITE
  • Prompt: !!,"Results entered. Search template comparison ended!"
  • Line Location: SEARCH+4
Routine Call
  • DIE
  • Line Location:
    • SORTEMP+10
Routine Call
  • DIC
  • Line Location:
    • SORTEMP+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIBT( SORTEMP+5, SORTEMP+6, SORTEMP+7, SORTEMP+8, TEST+2!, SEARCH+2*, SEARCH+3*
^DIC - [#1] CHOOSE1+1, CHOOSE1+4, CALLSRT1+3, COMPMERG+3, COMPMERG+4
^UTILITY("ATSEARCH" CALLSRT1+2, SEARCH+2

Label References

Name Line Occurrences
CALLSORT CHOOSE+3
CALLSRT1 CALLSORT+1
CHOOSE ATSERCH5+3, CHOOSE+1
CHOOSE1 CHOOSE+1
EOJ ATSERCH5+4
HELP CHOOSE+1
HELP2 CALLSORT+1
SEARCH CALLSORT+6
SORTEMP CALLSORT+4
TEST SORTEMP+10

Naked Globals

Name Field # of Occurrence
^("DIS" TEST+2!
^("O" TEST+2!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% SORTEMP+7*, SORTEMP+8*, SORTEMP+9, SORTEMP+10, SORTEMP+11, SORTEMP+12, EOJ+1!
>> ATSDFN SEARCH+1*, SEARCH+2*
>> ATSEARCH("FILELINK" CHOOSE1+1, CHOOSE1+4, CALLSRT1+2*, CALLSRT1+3, COMPMERG+3, COMPMERG+4
>> ATSEARCH(1 COMPMERG+1*, COMPMERG+3*, EOJ+1!
>> ATSEARCH(2 COMPMERG+2*, COMPMERG+4*, EOJ+1!
>> ATSEINRL COMPMERG+4*
ATSENLAG EOJ+1!
ATSETMP SORTEMP+4*, SORTEMP+5, SORTEMP+6, SORTEMP+7, SORTEMP+8, SORTEMP+10, TEST+2, SEARCH+2, SEARCH+3, EOJ+1!
>> ATSFLAG CHOOSE+1*, CHOOSE+2, CALLSORT+1*, CALLSORT+2*, CALLSORT+3, CALLSORT+5, CALLSORT+7*, SORTEMP+3*, SORTEMP+12*
ATSI EOJ+1!
>> ATSL CHOOSE+1*, CALLSORT+1*, SEARCH+2*
>> ATSMSG SORTEMP+2*, SORTEMP+3
ATSMTCH EOJ+1!
ATSNOT EOJ+1!
>> ATSRCSTR CHOOSE+1, CHOOSE1+1, CHOOSE1+5, CALLSORT+1, CALLSORT+2
>> ATSTORE CALLSORT+1
>> ATSUM SEARCH+1*, SEARCH+2*, SEARCH+3
ATSVAR EOJ+1!
ATSY TEST+1!
>> DA SORTEMP+10*
DIC SORTEMP+3*!
DIC("A" SORTEMP+3*
DIC("DR" SORTEMP+3*
DIC("S" SORTEMP+3*
DIC(0 HELP+1*, HELP2+1*, SORTEMP+3*
DIE SORTEMP+10*!
>> DLAYGO SORTEMP+3*
>> DR SORTEMP+10*
DTIME CHOOSE+1, CALLSORT+1
IOF CHOOSE+4, CALLSRT1+1, HELP+2, HELP2+2
>> L CALLSORT+4*
U CHOOSE1+1, CHOOSE1+4, CALLSRT1+3, COMPMERG+3, COMPMERG+4
>> X CHOOSE+1*, CHOOSE+3, CHOOSE+4, CALLSORT+1*, COMPMERG+2, COMPMERG+4
>> XQH HELP+1*, HELP2+1*
Y CALLSORT+4*, SORTEMP+3, SORTEMP+4, SORTEMP+5*, SORTEMP+9*, SORTEMP+11*, TEST+1*, TEST+2*, EOJ+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All