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

Package: IHS VA Utilities

Routine: XBRXREF2


Information

XBRXREF2 ; IHS/ADC/GTH - INITIALIZATION ROUTINES FOR DRIVER ; [ 02/07/97 3:02 PM ]

Source Information

Source file <XBRXREF2.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
VA Fileman 2 STORLIST^%RCR  ^DIC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS VA Utilities 1 XBRXREF  

Entry Points

Name Comments DBIA/ICR reference
BLDXRT ;EP - BUILD XREF TABLE
XREFS ; DISPLAY XREFS FOR FIELD
XREFS2 ; DISPLAY XREFS
GFRCR ; GET FIELD RECURSION
GETFIELD ; GET FIELD TO XREF
GETXREF ; GET XREFS FROM FIELD
INFOSAVE ; GET XREF/NODE/PIECE INFO AND SAVE
RECURSE ;
CONFIRM ;EP - GET USER CONFIRMATION
START ;
INIT ;EP - INITIALIZATION
GETFILE ;EP - GET FILE TO BE RE-XREFED
CONFIRM2 ;
CONFIRM3 ;

External References

Name Field # of Occurrence
STORLIST^%RCR GFRCR+5
^DIC GETFILE+2, GETFIELD+4, GETXREF+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Invalid entry point!",!
  • Line Location: START+1
Function Call: WRITE
  • Prompt: !!,"RE-INDEX selected cross-references.",!
  • Line Location: INIT+2
Function Call: WRITE
  • Prompt: !
  • Line Location: GETFIELD+1
Function Call: WRITE
  • Prompt: !!,"Computed fields do not have xrefs."
  • Line Location: GETFIELD+12
Function Call: WRITE
  • Prompt: !!,"This field has no xrefs!"
  • Line Location: GETFIELD+14
Function Call: WRITE
  • Prompt: !,"This field has the following xrefs. Select by number:"
  • Line Location: XREFS+1
Function Call: WRITE
  • Prompt: !,XBRXREF("XREF"),?10,X,?20,Y
  • Line Location: XREFS2+5
Function Call: WRITE
  • Prompt: !
  • Line Location: GETXREF+1
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, I don't do TRIGGERS!"
  • Line Location: INFOSAVE+2
Function Call: WRITE
  • Prompt: !!,*7,"Sorry, I only do xrefs at the file level!"
  • Line Location: INFOSAVE+3
Function Call: WRITE
  • Prompt: !!,"The ",$P(^DIC(XBRXREF("FILE"),0),U,1)," file contains ",$P(@(XBRXREF("GBL")_"0)"),U,4)," entries. The following xrefs will be",!,"killed and reset by the specified file or sub-file, and field:",!
  • Line Location: CONFIRM+1
Function Call: WRITE
  • Prompt: !,XBRXREF("FILE"),?15,XBRXREF("FIELD"),?25,^(XBRXREF("XREF"))
  • Line Location: CONFIRM3+2
Routine Call
  • DIC
  • Line Location:
    • GETFILE+2
    • GETFIELD+4
    • GETXREF+4

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC - [#1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD( GETFIELD+8, GETFIELD+13, GFRCR+3, XREFS+3, XREFS2+1, XREFS2+4, INFOSAVE+1, INFOSAVE+3
^DIC - [#1] GETFILE+6, CONFIRM+1
^TMP("XBRXREF" INIT+4!, BLDXRT+2, INFOSAVE+4*, CONFIRM+3, CONFIRM2+2, CONFIRM3+2

Label References

Name Line Occurrences
CONFIRM2 CONFIRM+3
CONFIRM3 CONFIRM2+2
GETFIELD BLDXRT+1, RECURSE+1
GETXREF XREFS+4
GFRCR GETFIELD+11
INFOSAVE GETXREF+7
XREFS GETFIELD+13
XREFS2 XREFS+3

Naked Globals

Name Field # of Occurrence
^( CONFIRM3+2
^(1 GETFIELD+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %RCR GFRCR+4*
>> %RCR( GFRCR+2*
DIC GETFILE+1*, GETFILE+3!, GETFIELD+3*, GETFIELD+5!, GETXREF+3*
DIC(0 GETFILE+1*, GETFIELD+3*, GETXREF+3*
DTIME CONFIRM+4
U INIT+1*, GETFIELD+8, GFRCR+3, XREFS2+1, INFOSAVE+1, CONFIRM+1
>> X GETFIELD+8*, GETFIELD+9, GETFIELD+10, XREFS2+1*, XREFS2+3, XREFS2+4, XREFS2+5, INFOSAVE+1*, INFOSAVE+2, INFOSAVE+3
, INFOSAVE+4, CONFIRM+4*, CONFIRM+5
>> XBRXREF("FIELD" BLDXRT+1, GETFIELD+2*, GETFIELD+7*, GETFIELD+8, GETFIELD+13, GFRCR+1, GFRCR+3, GFRCR+6*, RECURSE+1, XREFS+3
, XREFS2+1, XREFS2+4, GETXREF+3, INFOSAVE+1, INFOSAVE+3, INFOSAVE+4, CONFIRM2+1*, CONFIRM2+2*, CONFIRM3+2
>> XBRXREF("FILE" GETFILE+5*, GETFILE+6, GETFIELD+3, GETFIELD+8, GETFIELD+13, GFRCR+1, GFRCR+3*, GFRCR+6*, XREFS+3, XREFS2+1
, XREFS2+4, GETXREF+3, INFOSAVE+1, INFOSAVE+3, INFOSAVE+4, CONFIRM+1, CONFIRM+2*, CONFIRM+3*, CONFIRM2+2, CONFIRM3+2
>> XBRXREF("GBL" GETFILE+6*, CONFIRM+1
>> XBRXREF("L" BLDXRT+1*, RECURSE+1*, XREFS+3*, XREFS+4*, CONFIRM+3*, CONFIRM2+2*, CONFIRM3+2*
>> XBRXREF("NODE" GETFIELD+9*, GETFIELD+12
>> XBRXREF("PIECE" GETFIELD+10*, GETFIELD+11
>> XBRXREF("QFLG" START+2*, INIT+3*, GETFILE+4*, BLDXRT+2*, CONFIRM+5*
>> XBRXREF("SAVE FIELD" , GFRCR+1*, GFRCR+6,  FILE" , GFRCR+1*, GFRCR+6
>> XBRXREF("XREF" XREFS+2*, XREFS+3*, XREFS+4, XREFS2+1, XREFS2+4, XREFS2+5, GETXREF+2*, GETXREF+6*, INFOSAVE+1, INFOSAVE+3
, INFOSAVE+4, CONFIRM3+1*, CONFIRM3+2*
>> Y GETFILE+4, GETFILE+5, GETFIELD+6, GETFIELD+7, GFRCR+2*, XREFS2+2*, XREFS2+3*, XREFS2+4*, XREFS2+5, GETXREF+5
, GETXREF+6
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