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

ADGMAIL.m

Go to the documentation of this file.
ADGMAIL ; IHS/ADC/PDW/ENM - EDIT MEMBERS OF ADT MAIL GROUPS ; [ 03/25/1999  11:48 AM ]
 ;;5.0;ADMISSION/DISCHARGE/TRANSFER;;MAR 25, 1999
 ;
 ;
 W !!,"You may now add mail groups to any bulletin you've turned on."
BNAME W ! K DIC S DIC(0)="AEQMZ",DIC=3.6
 S DIC("S")="I $P(^XMB(3.6,+Y,0),U)?1""DG IHS "".E"
 S DIC("A")="Select ADT BULLETIN NAME:  " D ^DIC G END:'$T,END:Y<0
 ;
BEDIT K DIE,DIC S DIE=3.6,DA=+Y,DR="4",DR(2,3.62)=".01"
 L +^XMB(3.6,DA):3 I '$T D  G BNAME
 . W !,*7,"SOMEONE ELSE IS UPDATING THIS BULLETIN; TRY AGAIN LATER"
 D ^DIE L -^XMB(3.6,DA)
 W ! G BNAME
 ;
END K DIC,DIE,DA,DR,X,Y Q