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

AUM9115.m

Go to the documentation of this file.
  1. AUM9115 ; IHS/RPMSDBA/GTH - STANDARD TABLE UPDATES, 2000JUL21 ; [ 07/27/2000 10:47 AM ]
  1. ;;99.1;TABLE MAINTENANCE;**15**;NOV 6,1998
  1. ;
  1. I '$G(DUZ) W !,"DUZ UNDEFINED OR ZERO.",! Q
  1. D HOME^%ZIS,DT^DICRW,VP,HELP("INTRO")
  1. S (DIR(0),DIR("B"))="Y"
  1. S DIR("A")="Do you want to queue the update to TaskMan"
  1. S DIR("??")="^D HELP^AUM9115(""Q2"")"
  1. D ^DIR
  1. KILL DIR
  1. I $D(DIRUT) D HELP("Q2") Q
  1. G START:'Y
  1. QUE ;
  1. S %DT="AERSX",%DT("A")="Requested Start Time: ",%DT("B")="T@2015",%DT(0)="NOW"
  1. D ^%DT
  1. I Y<1 W !,"QUEUE INFORMATION MISSING - NOT QUEUED" D HELP("Q2") G AUM9115
  1. S X=+Y
  1. D H^%DTC
  1. S ZTDTH=%H_","_%T
  1. S ZTRTN="START^AUM9115",ZTIO="",ZTDESC=$P($P($T(+1),";",2)," ",4,99)
  1. D ^%ZTLOAD,HOME^%ZIS
  1. I $D(ZTSK) W !!,"QUEUED TO TASK ",ZTSK,!!,"A mail message with the results will be sent to your MailMan 'IN' basket.",!
  1. E W !!,*7,"QUEUE UNSUCCESSFUL. RESTART UTILITY."
  1. Q
  1. ;
  1. START ;EP - From Taskman
  1. ;
  1. NEW XMSUB,XMDUZ,XMTEXT,XMY
  1. KILL ^TMP("AUM9115",$J)
  1. D START^AUM91151
  1. S XMSUB=$P($P($T(+1),";",2)," ",4,99),XMDUZ=$G(DUZ,.5),XMTEXT="^TMP(""AUM9115"",$J,",XMY(DUZ)=""
  1. F %="XUPROGMODE","AG TM MENU","ABMDZ TABLE MAINTENANCE","APCCZMGR" D SINGLE(%)
  1. D ^XMD
  1. KILL ^TMP("AUM9115",$J)
  1. I $D(ZTQUEUED) S ZTREQ="@" G DEL^A9AUM15
  1. W !!,"The results are in your MailMan 'IN' basket.",!
  1. I $L($T(DIR^XBDIR)),$$DIR^XBDIR("Y","Want me to delete the routines in this patch","Y") G DEL^A9AUM15
  1. Q
  1. ;
  1. INTRO ;EP - To write to mail message, too.
  1. ;;This updates standard tables according to the changes specified in
  1. ;;the message from Joe Herrera, with subject "Standard Code Book
  1. ;;modifications", released on Fri 7/21/00. Please consult that
  1. ;;message, and the local RPMS mail message produced by this update.
  1. ;;
  1. ;;Additionally, a domain name is added to the DOMAIN file.
  1. ;;
  1. ;;###;NOTE: This line indicates the end of the message.
  1. ;
  1. Q2 ;
  1. ;;Answer "Y" if you want to queue this standard table update to TaskMan.
  1. ;;Answer "N" if you want to run this update interactively.
  1. ;;
  1. ;;If you run interactively, results will be displayed on your screen,
  1. ;;as well as in the mail message sent to you and user 1. If you queue
  1. ;;to TaskMan, please read the mail message for results of this update.
  1. ;;###;NOTE: This line indicates the end of the message.
  1. ;
  1. HELP(L) ;EP - Display text at label L.
  1. W !
  1. F %=1:1 W !?4,$P($T(@L+%),";",3) Q:$P($T(@L+%+1),";",3)="###"
  1. Q
  1. ;
  1. SINGLE(K) ; Get holders of a single key K.
  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. VP ;
  1. W !?4,"**** AUM Version ",$P($T(+2),";",3)," Patch ",$P($P($T(+2),";",5),"*",3),?65,"****"
  1. W !?4,"**** ",$P($P($T(+1),";",2),"-",2),?65,"****"
  1. Q
  1. ;
  1. GREET ;;EP - To add to mail message.
  1. ;;
  1. ;;Greetings.
  1. ;;
  1. ;;Standard tables on your RPMS system have been updated.
  1. ;;
  1. ;;You are receiving this message because of the particular RPMS
  1. ;;security keys that you hold. This is for your information, only.
  1. ;;You need do nothing in response to this message.
  1. ;;
  1. ;;Requests for modifications or additions to RPMS standard tables,
  1. ;;whether they are or are not reflected in the IHS Standard Code
  1. ;;Book (SCB), can be submitted to your Area Information System
  1. ;;Coordinator (ISC).
  1. ;;
  1. ;;Questions about this patch, which is a product of the RPMS/DBA
  1. ;;Team, can be directed to the Help Desk
  1. ;;. Please
  1. ;;refer to patch "AUM*99.1*15".
  1. ;;
  1. ;;###;NOTE: This line indicates the end of text in this message.
  1. ;