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

XU8P672.m

Go to the documentation of this file.
  1. XU8P672 ;SFIRMFO/MAF -POST-install;04/22/2015 14:20
  1. ;;8.0;KERNEL;**672**;APR 22, 2015;Build 28
  1. ;Per VHA Directive 2004-038, this routine should not be modified.
  1. D BMES^XPDUTL(" *** Running post-init for patch XU*8.0*672 ***")
  1. N XUPKGID,XUPKGFL,DA,X,XUFLG
  1. S XUPKGID=$O(^DIC(9.4,"B","KERNEL",0)) I $D(^DIC(9.4,+XUPKGID,0)) D
  1. .D BMES^XPDUTL("Checking system for package file entry for KERNEL that is associated")
  1. .D MES^XPDUTL("with patient merge - delete entry")
  1. .S X=0,XUFLG=0
  1. .F X=0:0 S X=$O(^DIC(9.4,XUPKGID,20,X)) Q:X'>0 I $D(^DIC(9.4,XUPKGID,20,X,0)),$P($G(^DIC(9.4,XUPKGID,20,X,0)),"^",1)=2 S XUPKGFL=X D
  1. . .S DA(1)=XUPKGID,DA=XUPKGFL S DIK="^DIC(9.4,"_DA(1)_",20,"
  1. . .D ^DIK D BMES^XPDUTL("*** Entry found and deleted!") S XUFLG=1
  1. . .K DIK,DA
  1. . . Q
  1. .Q
  1. I 'XUFLG D BMES^XPDUTL("*** No entry found!")
  1. D BMES^XPDUTL(" ")
  1. Q