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

XU8P453.m

Go to the documentation of this file.
  1. XU8P453 ;OAK_BP/CMW - NPI Phase2 ;01-Jun-07
  1. ;;8.0;KERNEL;**453**; Jul 10, 1995;Build 36
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. ; NPI Phase2 release
  1. ; Create mail group on local machine
  1. ;
  1. Q
  1. ;
  1. POST ; Entry point for post install
  1. ;
  1. ; remove mail group if it already exists
  1. N Y
  1. S X="NPI EXTRACT VERIFICATION" S D="B",DIC=3.8,DIC(0)="" D IX^DIC
  1. I +Y D
  1. . N DIK,DA
  1. . S DIK="^XMB(3.8,",DA=+Y
  1. . D ^DIK
  1. ;
  1. MAILGRP ; -- Create new mail group
  1. W !!,"Creating new Mailgroup NPI EXTRACT VERIFICATION"
  1. W !!,*7,"<<< Person running this process will automatically be added to mail group! >>>"
  1. N A,B,C,D,E,F,G,X,IBT
  1. S A="NPI EXTRACT VERIFICATION",B=0,C=.5,D=0,G=1
  1. I $G(DUZ)="" W !,"NO USER" G END
  1. S E(DUZ)=""
  1. S F(1)="Members of this mail group will automatically receive an email verification entry"
  1. S F(2)="for each NPI Extract file that has been generated at the sites."
  1. S X="XMBGRP" X ^%ZOSF("TEST") S IBT=$T
  1. I IBT D
  1. . W !!,"<<< Adding mail group "_A,!
  1. . S X=$$MG^XMBGRP(A,B,C,D,.E,.F,G)
  1. ;
  1. I 'IBT D
  1. .; -- environment pre-init check for Mailman 7.1 should not allow the
  1. .; following lines to display.
  1. .W !!,"<<< **NOTE** Mail Group not created! >>>"
  1. .W !,"<<< Earlier version then Mailman 7.1 on your system! >>>"
  1. .W !,"<<< Please create a mailgroup named NPI EXTRACT VERIFICATION and add members! >>>"
  1. ;
  1. REMOTE ; Add remote mail group
  1. I '$D(^XMB(3.8,"B",A)) G END
  1. S DLAYGO=3.8,DA(1)=+X
  1. S DIC="^XMB(3.8,"_DA(1)_",6,",DIC(0)="L",X="vhaconpiextractmonitoring@domain.ext"
  1. D ^DIC
  1. ;
  1. END K DLAYGO,DA,DIC
  1. Q