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

XM40PST.m

Go to the documentation of this file.
  1. XM40PST ;ALB/JDG - XM*8.0*40 POST INIT: DOMAIN FILE UPDATE(#4.2); 04/26/10 ; 5/24/10 4:58pm
  1. ;;8.0;MAILMAN;**40**;26-APR-10;Build 12
  1. ;;Per VHA Directive 2004-038, this routine should not be modified.
  1. ;
  1. Q
  1. ;
  1. EN ;LOCATES IEN FOR THE LRN.VA.GOV DOMAIN AND STUFF'S A "CN" FOR CLOSE AND NO-FORWARD INACTIVATING THE DOMAIN.
  1. ;
  1. N XMDOM,XMFLG
  1. S (XMDOM,XMFLG)=0
  1. D BMES^XPDUTL("Closing the LRN.VA.GOV domain...")
  1. S XMDOM=+$O(^DIC(4.2,"B","LRN.VA.GOV",XMDOM)) I XMDOM D
  1. .S XMFLG=1
  1. .S DR="1///CN"
  1. .S DIE="^DIC(4.2,",DA=XMDOM D ^DIE
  1. .D BMES^XPDUTL("Domain updated successfully!")
  1. .Q
  1. I 'XMFLG D BMES^XPDUTL("Unable to locate LRN.VA.GOV domain entry. Nothing updated.")
  1. K DIE,DA,DR,XMDOM,XMFLG
  1. Q