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

DIPR129.m

Go to the documentation of this file.
  1. DIPR129 ;OOIFO/SO- REMOVE DANGLING AUDIT XREFS ;8:09 AM 24 Nov 2003
  1. ;;22.0;VA FileMan;**129**;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. I $$TM^%ZTLOAD,$G(XPDNM)]"" D Q
  1. . N ZTSAVE,ZTRTN,ZTDTH,ZTDESC,ZTIO
  1. . S ZTSAVE("XPD*")="",ZTRTN="DEQUE^DIPR129",ZTDTH=$H,ZTIO=""
  1. . S ZTDESC="DI*22*129 Post Installation"
  1. . D ^%ZTLOAD
  1. . D MES^XPDUTL("Post Install Task Number is: "_$G(ZTSK))
  1. DEQUE ;
  1. N ZZ
  1. D MES^XPDUTL(" ")
  1. I $G(ZTSK)]"" D MES^XPDUTL("Queued Post Install Dialog, Task#: "_$G(ZTSK))
  1. D TIME
  1. D MES^XPDUTL("Began checking Audit cross reference: "_ZZ_"...")
  1. N FILE
  1. S FILE=1.99999 ;Begin after Fileman Files
  1. F S FILE=$O(^DIC(FILE)) Q:'FILE D
  1. . I '$D(^DIA(FILE)) Q
  1. . N I
  1. . S I=$$DANGLE^DIAU(FILE)
  1. . I I D MES^XPDUTL("File: "_FILE_" had a total of:"_I_" dangling cross references removed.")
  1. . Q
  1. D TIME
  1. D MES^XPDUTL("Finished checking Audit cross references: "_ZZ_".")
  1. Q
  1. ;
  1. TIME ; GET CURRENT DATE/TIME
  1. N %,%H,%I,Y
  1. D NOW^%DTC
  1. S Y=%
  1. D DD^%DT
  1. S ZZ=Y
  1. Q