source: FOIAVistA/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DIPOS140.m@ 711

Last change on this file since 711 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 825 bytes
Line 
1DIPOS140 ;SFISC/SO- POST INSTAL DI*22*140 RE-COMPILE XREF;8:50 AM 18 Aug 2004
2 ;;22.0;VA FileMan;*140*;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 D MES^XPDUTL("Begin re-compile of cross references...")
5 N FILE S FILE=1.99999
6 F S FILE=$O(^DIC(FILE)) Q:'FILE D
7 . I '$D(^DD(FILE,0,"DIK")) Q ;File does not have compiled xref
8 . N GL,X,Y,DMAX,DIQUITE
9 . I '$D(^DIC(FILE,0,"GL")) Q ;Missing global location
10 . S GL=^("GL")_"0)" ;Naked set in previous line
11 . I '$D(@GL) Q ;No file header node
12 . I +$P(@GL,U,2)'=FILE Q ;File node number not correct
13 . D MES^XPDUTL("Re-compiling cross reference for: "_$$GET1^DIQ(1,FILE_",",.01)_"(#"_FILE_")")
14 . S DMAX=^DD("ROU")
15 . S X=^DD(FILE,0,"DIK")
16 . S Y=FILE
17 . D EN^DIKZ
18 . Q
19 D MES^XPDUTL("Finished re-compile of cross refereneces.")
20 Q
Note: See TracBrowser for help on using the repository browser.