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

LEX2I04P.m

Go to the documentation of this file.
  1. LEX2I04P ;IHS/OIT/FCJ - LEXICON UTILITY PATCH 1004 ; 14 Mar 2012 12:44 PM
  1. ;;2.0;LEXICON UTILITY;**1004**;Sep 23, 1996;Build 5
  1. ;=================================================================
  1. ;Original routine from LEX2I02P
  1. ;
  1. POST ;EP FROM KERNAL
  1. ;
  1. MAIL ;
  1. D BMES^XPDUTL("BEGIN Delivering MailMan message to select users.")
  1. NEW DIFROM,XMSUB,XMDUZ,XMTEXT,XMY
  1. KILL ^TMP("LEX1004",$J)
  1. D RSLT(" --- LEX v 2.0 Patch 1004, have been installed into this namespace ---")
  1. F %=1:1 D RSLT($P($T(GREET+%),";",3)) Q:$P($T(GREET+%+1),";",3)="###"
  1. S %=0
  1. F S %=$O(^XTMP("XPDI",XPDA,"BLD",XPDBLD,1,%)) Q:'% D RSLT(^(%,0))
  1. S XMSUB=$P($P($T(+1),";",2)," ",3,99),XMDUZ=$S($G(DUZ):DUZ,1:.5),XMTEXT="^TMP(""LEX1004"",$J,",XMY(1)="",XMY(DUZ)=""
  1. F %="LEXZMENU","XUMGR","XUPROG","XUPROGMODE" D SINGLE(%)
  1. D ^XMD
  1. KILL ^TMP("LEX1004",$J)
  1. D MES^XPDUTL("END Delivering MailMan message to select users.")
  1. Q
  1. ;
  1. RSLT(%) S ^(0)=$G(^TMP("LEX1004",$J,0))+1,^(^(0))=%
  1. Q
  1. ;
  1. SINGLE(K) ; Get holders of a key
  1. NEW Y
  1. S Y=0
  1. Q:'$D(^XUSEC(K))
  1. F S Y=$O(^XUSEC(K,Y)) Q:'Y S XMY(Y)=""
  1. Q
  1. ;
  1. GREET ;;To add to mail message.
  1. ;;
  1. ;;Routines and/or data dictionaries on your RPMS system have been updated.
  1. ;;
  1. ;;You are receiving this message because of the RPMS
  1. ;;security keys that you hold. This is for your information.
  1. ;;Do not respond to this message.
  1. ;;
  1. ;;Questions about this patch may be directed to
  1. ;;the ITSC Support Center, at 505-248-4371,
  1. ;;refer to patch "LEX*2.1*1004".
  1. ;;
  1. ;;###;NOTE: This line end of text.
  1. ;