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

KMPSPOST.m

Go to the documentation of this file.
  1. KMPSPOST ;OAK/RAK - SAGG Post Install Routine ;9/1/2015
  1. ;;2.0;SAGG PROJECT;**1**;Jul 02, 2007;Build 67
  1. ;
  1. EN ;-- entry point for post-install
  1. ;
  1. D BMES^XPDUTL(" Begin Post-Install...")
  1. D GROUP
  1. D MES^XPDUTL(" Post-Install complete!")
  1. ;
  1. Q
  1. ;
  1. GROUP ;-- delete entry REMOTE MEMBER 'G.A1B5@FO-BIRM.DOMAIN.EXT' or 'G.A1B5@ISC-BIRM.DOMAIN.EXT' from KMP-CAPMAN mail group
  1. N ERROR,FDA,GROUP,IEN,IEN1
  1. S IEN=$O(^XMB(3.8,"B","KMP-CAPMAN",0))
  1. Q:'IEN
  1. F GROUP="G.A1B5@FO-BIRM.DOMAIN.EXT","G.A1B5@ISC-BIRM.DOMAIN.EXT" D
  1. .K FDA,IEN1
  1. .S IEN1=$O(^XMB(3.8,IEN,6,"B",GROUP,0))
  1. .; MEMBER - REMOTE field
  1. .S FDA($J,3.812,IEN1_","_IEN_",",.01)="@"
  1. .D FILE^DIE("","FDA($J)","ERROR")
  1. Q