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 |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: YTXUTL

Package: Mental Health

Routine: YTXUTL


Information

YTXUTL ;SLC/KCM - Debug Utilities ; 9/15/2015

Source Information

Source file <YTXUTL.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Mental Health 1 SPEC2TR^YTXCHGT  
VA FileMan 1 ^DIC  

Entry Points

Name Comments DBIA/ICR reference
VIEWTREE ;
QLOOP(IDFILE) ; Repeat prompt for ID to search for usages
; IDFILE: Reference file where the ID resides
QUSAGE(ID,IDFILE) ; Search files for usage of QUEST
; ID: Identifier (IEN) that we are finding usages of
; IDFILE: File number -- tells which file:field map to use
QCTYP(ID) ; Find instruments using this choice type
QOUT(FILE,IEN,TESTP) ; Write out using IEN, Instrument
; FILE: file number that contains the usage
; IEN: IEN of the usage
; TESTP: piece number of the instrument pointer (or S or R)

External References

Name Field # of Occurrence
^DIC VIEWTREE+2
SPEC2TR^YTXCHGT VIEWTREE+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Use ^TMP($J) to view tree"
  • Line Location: VIEWTREE+5
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: QLOOP+3
Function Call: WRITE
  • Prompt: ?20,$G(^YTT(IDFILE,+X,0))
  • Line Location: QLOOP+4
Function Call: WRITE
  • Prompt: !,FILE," IEN:",IEN,?20,"Instrument: ",$P($G(^YTT(601.71,TEST,0)),U)
  • Line Location: QOUT+13
Routine Call
  • DIC
  • Line Location:
    • VIEWTREE+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^YTT(601.95 - [#601.95] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J VIEWTREE+3!, VIEWTREE+4
^YTT( QLOOP+4, QUSAGE+12, QUSAGE+13, QOUT+5
^YTT(601.71 - [#601.71] QOUT+13
^YTT(601.72 - [#601.72] QCTYP+1, QCTYP+2
^YTT(601.82 - [#601.82] QOUT+7
^YTT(601.83 - [#601.83] QOUT+8
^YTT(601.86 - [#601.86] QOUT+12
^YTT(601.87 - [#601.87] QOUT+11
^YTT(601.91 - [#601.91] QOUT+10

Label References

Name Line Occurrences
QOUT QUSAGE+13
QUSAGE QLOOP+5, QCTYP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DIC VIEWTREE+1~, VIEWTREE+2*
DIC(0 VIEWTREE+2*
DTIME QLOOP+3
FILE QUSAGE+3~, QUSAGE+9*, QUSAGE+10, QUSAGE+11, QUSAGE+12, QUSAGE+13, QOUT~, QOUT+5, QOUT+13
GROUP QOUT+11~*, QOUT+12
I QUSAGE+3~, QUSAGE+6*
ID QUSAGE~, QUSAGE+13, QCTYP~, QCTYP+2
IDFILE QLOOP~, QLOOP+4, QLOOP+5, QUSAGE~, QUSAGE+5
IEN QUSAGE+3~, QUSAGE+12*, QUSAGE+13, QCTYP+1*, QCTYP+2, QOUT~, QOUT+5, QOUT+7, QOUT+8, QOUT+10
, QOUT+13
MAP QUSAGE+3~
MAP( QUSAGE+7*, QUSAGE+9, QUSAGE+10, QUSAGE+11
PIECE QUSAGE+3~, QUSAGE+10*, QUSAGE+11, QUSAGE+13
QMAP QUSAGE+3~, QUSAGE+5*
RULE QOUT+7~*
SCALE QOUT+10~*, QOUT+11
TEST QOUT+4~, QOUT+5*, QOUT+8*, QOUT+12*, QOUT+13
TESTP QUSAGE+3~, QUSAGE+11*, QUSAGE+13, QOUT~, QOUT+5, QOUT+6, QOUT+9
U QUSAGE+7, QUSAGE+13, QCTYP+2, QOUT+5, QOUT+8, QOUT+10, QOUT+11, QOUT+12, QOUT+13
X VIEWTREE+1~, QLOOP+2~, QLOOP+3*, QLOOP+4, QLOOP+5, QUSAGE+3~, QUSAGE+6*, QUSAGE+7
Y VIEWTREE+1~, VIEWTREE+2, VIEWTREE+4

Marked Items

Name Field # of Occurrence
$T(@QMAP+I QUSAGE+6
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All