Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DIPOS140

DIPOS140.m

Go to the documentation of this file.
  1. DIPOS140 ;SFISC/SO- POST INSTAL DI*22*140 RE-COMPILE XREF;8:50 AM 18 Aug 2004
  1. ;;22.0;VA FileMan;*140*;Mar 30, 1999;Build 1
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. D MES^XPDUTL("Begin re-compile of cross references...")
  1. N FILE S FILE=1.99999
  1. F S FILE=$O(^DIC(FILE)) Q:'FILE D
  1. . I '$D(^DD(FILE,0,"DIK")) Q ;File does not have compiled xref
  1. . N GL,X,Y,DMAX,DIQUITE
  1. . I '$D(^DIC(FILE,0,"GL")) Q ;Missing global location
  1. . S GL=^("GL")_"0)" ;Naked set in previous line
  1. . I '$D(@GL) Q ;No file header node
  1. . I +$P(@GL,U,2)'=FILE Q ;File node number not correct
  1. . D MES^XPDUTL("Re-compiling cross reference for: "_$$GET1^DIQ(1,FILE_",",.01)_"(#"_FILE_")")
  1. . S DMAX=^DD("ROU")
  1. . S X=^DD(FILE,0,"DIK")
  1. . S Y=FILE
  1. . D EN^DIKZ
  1. . Q
  1. D MES^XPDUTL("Finished re-compile of cross refereneces.")
  1. Q