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

PSB54P.m

Go to the documentation of this file.
  1. PSB54P ;MNT/BJR - PSB*3*54 POST INSTALL; 7 April 2010 11:36 AM ; 9/5/13 9:37am
  1. ;;3.0;BAR CODE MED ADMIN;**54**;Mar 2004;Build 40
  1. ;Per VHA Directive 2004-038 (or future revisions regarding same), this routine should not be modified.
  1. ;
  1. Q
  1. PSTINSTL ;PSB*3*54 POST INSTALL ROUTINE
  1. N PSBMG,XMDUZ,XMSUB,XMTEXT,PSBUNMG,PSBMEMB,XMY,PSBMES
  1. S PSBMG=$$GET^XPAR("DIV","PSB MG ADMIN ERROR",,"E") Q:PSBMG=""
  1. S PSBMEMB=$$GOTLOCAL^XMXAPIG(PSBMG)
  1. I PSBMEMB=0 D
  1. .S PSBMES="*****PSB*3.0*54 has been installed and found that the UNKNOWN ACTIONS Mailgroup" D Q
  1. ..D BMES^XPDUTL(PSBMES)
  1. ..S PSBMES="listed in the BCMA PARAMETERS GUI has no active members. Please contact your"
  1. ..D MES^XPDUTL(PSBMES)
  1. ..S PSBMES="local BCMA Coordinator to add active members to this mailgroup.*****"
  1. ..D MES^XPDUTL(PSBMES)
  1. ..S XMSUB="NO ACTIVE MEMBERS IN UNKNOWN ACTIONS MAILGROUP"
  1. ..S XMDUZ=DUZ
  1. ..S XMTEXT="PSBUNMG"
  1. ..S XMY(DUZ)=""
  1. ..S PSBUNMG(1)="PSB*3.0*54 has been installed and found that the"
  1. ..S PSBUNMG(2)="UNKNOWN ACTIONS Mailgroup listed in the BCMA"
  1. ..S PSBUNMG(3)="PARAMETERS GUI has no active members. Please contact"
  1. ..S PSBUNMG(4)="your local BCMA Coordinator to add active members to"
  1. ..S PSBUNMG(5)="this mailgroup."
  1. ..D SENDMSG^XMXAPI(XMDUZ,XMSUB,XMTEXT,.XMY)
  1. Q