Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: AUCDIC3

Package: Utilities

Routine: AUCDIC3


Information

AUCDIC3 ; CHECK ^DD [ 11/29/87 2:11 PM ]

Source Information

Source file <AUCDIC3.m>

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Utilities 1 AUCDIC  

Entry Points

Name Comments DBIA/ICR reference
CHKACOMP ; CHECK "ACOMP" ENTRIES
AUCDDDC ; CHECK ^DD ENTRY
CHKFIELD
PT ;
CHKTRB ; CHECK "TRB" NODE
SBTRACE ; CHECK ALL SUB-FILES
SBTRACE2 ;
CHKPT ; CHECK "PT" NODE
TRB ;
; THIS CAN CHECK MORE THAN IT DOES ***
SBTRACE4 ;
SBTFIX ; FIX "NM"
ACOMP ;
SBTRACE3 ;
CHKDD0 ; CHECK 0TH NODE

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Now checking ^DD entries."
  • Line Location: AUCDIC3+3
Function Call: WRITE
  • Prompt: !,?5,"Checking ",AUCDFILE
  • Line Location: AUCDIC3+3
Function Call: WRITE
  • Prompt: !,"File "_AUCDFILE_" has no ^DD("_AUCDFILE_",.01,0) entry."
  • Line Location: CHKDD0+1
Function Call: WRITE
  • Prompt: !,"File "_AUCDFILE_" has no ^DD("_AUCDFILE_",0,""NM"") entry."
  • Line Location: CHKDD0+2
Function Call: WRITE
  • Prompt: !,"File "_AUCDFILE_" has multiple names."
  • Line Location: CHKDD0+3
Function Call: WRITE
  • Prompt: "."
  • Line Location: PT+1
Function Call: WRITE
  • Prompt: "|"
  • Line Location: PT+2
Function Call: WRITE
  • Prompt: "|"
  • Line Location: PT+3
Function Call: WRITE
  • Prompt: "|"
  • Line Location: PT+7
Function Call: WRITE
  • Prompt: "."
  • Line Location: TRB+2
Function Call: WRITE
  • Prompt: "|"
  • Line Location: TRB+3
Function Call: WRITE
  • Prompt: "|"
  • Line Location: TRB+4
Function Call: WRITE
  • Prompt: "."
  • Line Location: ACOMP+1
Function Call: WRITE
  • Prompt: "|"
  • Line Location: ACOMP+2
Function Call: WRITE
  • Prompt: "|"
  • Line Location: ACOMP+3
Function Call: WRITE
  • Prompt: "|"
  • Line Location: ACOMP+4
Function Call: WRITE
  • Prompt: "|"
  • Line Location: ACOMP+6
Function Call: WRITE
  • Prompt: "."
  • Line Location: SBTRACE+2
Function Call: WRITE
  • Prompt: "."
  • Line Location: SBTRACE2+1
Function Call: WRITE
  • Prompt: !,?10,AUCDI," is a primary file. Deleting ^DD(",AUCDSF,",""SB"",",AUCDI,")"
  • Line Location: SBTRACE3+1
Function Call: WRITE
  • Prompt: !,?10,AUCDI," sub-file has ""PT"" node. Deleting."
  • Line Location: SBTRACE3+2
Function Call: WRITE
  • Prompt: !,?10,AUCDI," has no ""UP"" node. Creating ^DD(",AUCDI,",0,""UP"")=",AUCDSF
  • Line Location: SBTRACE3+3
Function Call: WRITE
  • Prompt: !,?10,AUCDI," ""UP"" node is NULL. Setting ^DD(",AUCDI,",0,""UP"")=",AUCDSF
  • Line Location: SBTRACE3+5
Function Call: WRITE
  • Prompt: !,?10,AUCDSF," lists ",AUCDI," as a sub-file. The ""UP"" node in ",!,?10+$L(AUCDSF)+1,AUCDI," is ",^DD(AUCDI,0,"UP"),"."
  • Line Location: SBTRACE3+6
Function Call: WRITE
  • Prompt: !,?12,"The ""SB"" in ",^DD(AUCDI,0,"UP")," agrees. Fixing."
  • Line Location: SBTRACE3+7
Function Call: WRITE
  • Prompt: !,?12,"The ""SB"" in ",^DD(AUCDI,0,"UP")," disagrees. Fixing."
  • Line Location: SBTRACE3+8
Function Call: WRITE
  • Prompt: !,?10,"Sub-file "_AUCDI_" has no ^DD("_AUCDI_",0,""NM"") entry. Fixing."
  • Line Location: SBTRACE4+1
Function Call: WRITE
  • Prompt: !,?10,"Sub-file "_AUCDI_" has multiple names. Fixing."
  • Line Location: SBTRACE4+2
Function Call: WRITE
  • Prompt: !,?12,"Can't fix. No ""UP"" node."
  • Line Location: SBTFIX+2
Function Call: WRITE
  • Prompt: !,?12,"Can't fix. ""UP"" node is NULL."
  • Line Location: SBTFIX+4
Function Call: WRITE
  • Prompt: !,?12,"Can't fix because can't locate parent field."
  • Line Location: SBTFIX+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD( CHKDD0+1, CHKDD0+2, CHKPT+1, PT+2!, PT+3!, PT+4, PT+5, PT+7!, CHKTRB+1, CHKTRB+2
, TRB+3!, TRB+4!, ACOMP+2, ACOMP+3, ACOMP+4, ACOMP+5, SBTRACE2+1, SBTRACE3+1!, SBTRACE3+2!, SBTRACE3+3*
, SBTRACE3+4, SBTRACE3+5*, SBTRACE3+6, SBTRACE3+7!, SBTRACE3+8*, SBTRACE4+1, SBTFIX+1!, SBTFIX+2, SBTFIX+5, SBTFIX+6
, SBTFIX+7*
^DD("ACOMP" CHKACOMP+1, CHKACOMP+2, CHKFIELD, ACOMP+2!, ACOMP+3!, ACOMP+4!, ACOMP+6!
^DIC - [#1] SBTRACE3+1
^UTILITY("AUDSET" AUCDIC3+3

Label References

Name Line Occurrences
ACOMP CHKFIELD
AUCDDDC AUCDIC3+3
CHKACOMP AUCDDDC+4
CHKDD0 AUCDDDC+1
CHKFIELD CHKACOMP+2
CHKPT AUCDDDC+2
CHKTRB AUCDDDC+3
PT CHKPT+1
SBTFIX SBTRACE4+1, SBTRACE4+2
SBTRACE AUCDDDC+5
SBTRACE2 SBTRACE+2
SBTRACE3 SBTRACE2+1
SBTRACE4 SBTRACE2+1
TRB CHKTRB+2

Naked Globals

Name Field # of Occurrence
^( CHKDD0+3, SBTRACE4+2, SBTFIX+6
^("NM" CHKDD0+3, SBTRACE4+2
^("UP" SBTFIX+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AUCDAFLD CHKFIELD*, CHKFIELD+1!, ACOMP+3, ACOMP+4, ACOMP+5, ACOMP+6
AUCDAFLE CHKFIELD*, CHKFIELD+1!, ACOMP+2, ACOMP+3, ACOMP+4, ACOMP+5, ACOMP+6
AUCDANS AUCDIC3+4!
AUCDC SBTRACE+1*, SBTRACE+3!, SBTRACE2+1*
AUCDFILE AUCDIC3+3*, AUCDIC3+4!, CHKDD0+1, CHKDD0+2, CHKDD0+3, CHKPT+1, PT+2, PT+3, PT+5, PT+6
, PT+7, CHKTRB+1, CHKTRB+2, TRB+3, TRB+4, CHKACOMP+1, CHKACOMP+2, CHKFIELD, ACOMP+2, ACOMP+3
, ACOMP+4, ACOMP+6, SBTRACE+1
AUCDFLD CHKACOMP+2*, CHKACOMP+3!, CHKFIELD, ACOMP+2, ACOMP+3, ACOMP+4, ACOMP+6
AUCDI SBTRACE+2*, SBTRACE+3!, SBTRACE2+1*, SBTRACE3+1, SBTRACE3+2, SBTRACE3+3, SBTRACE3+4, SBTRACE3+5, SBTRACE3+6, SBTRACE3+7
, SBTRACE3+8, SBTRACE4+1, SBTRACE4+2, SBTFIX+1, SBTFIX+2, SBTFIX+5, SBTFIX+6, SBTFIX+7
AUCDL AUCDIC3+3*, AUCDIC3+4!, CHKPT+1*, CHKTRB+2*, CHKACOMP+2*, CHKFIELD*, SBTRACE+2*, SBTRACE2+1*
AUCDPFLD CHKPT+1*, CHKPT+2!, PT+3, PT+4, PT+5, PT+7
AUCDPFLE CHKPT+1*, CHKPT+2!, PT+2, PT+3, PT+4, PT+5, PT+7
AUCDSF SBTRACE+2*, SBTRACE+3!, SBTRACE2+1, SBTRACE3+1, SBTRACE3+3, SBTRACE3+4, SBTRACE3+5, SBTRACE3+6, SBTRACE3+7, SBTRACE3+8
AUCDSFL SBTRACE+1!*, SBTRACE+3!
AUCDSFL( SBTRACE+1*, SBTRACE+2!, SBTRACE2+1*
AUCDSFL("" SBTRACE+2
AUCDTFLD CHKTRB+2*, CHKTRB+3!, TRB+4
AUCDTFLE CHKTRB+2*, CHKTRB+3!, TRB+3, TRB+4
AUCDX CHKDD0+3*, CHKPT+2!, PT+4*, PT+5, PT+6, CHKTRB+3!, CHKFIELD+1!, ACOMP+5*, ACOMP+6, SBTRACE4+2*
, SBTFIX+3*, SBTFIX+4, SBTFIX+5, SBTFIX+6
AUCDY SBTRACE+3!, SBTFIX+6*
AUCDZ SBTRACE+3!, SBTFIX+6*, SBTFIX+7
U AUCDIC3+2*, PT+4, ACOMP+5, SBTFIX+6
Info |  Source |  Caller Graph |  Entry Points |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All