VistA-WorldVistAEHR/r/DSS_EXTRACTS-ECX/ECXMDELE.m

13 lines
531 B
Mathematica

ECXMDELE ;BIR/DMA-Server to Receive Confirmation from Austin ; 17 Mar 95 / 9:56 AM
;;3.0;DSS EXTRACTS;**67**;Dec 22, 1997
I XMFROM'["POSTMASTER@FOC-AUSTIN" G DUMP
S ECXQUEUE=$P($G(^ECX(728,1,"QUEUE")),"^",1)
I $TR(XQSUB,"zxcvbnmasdfghjklqwertyuiop","ZXCVBNMASDFGHJKLQWERTYUIOP")'[ECXQUEUE_" CONFIRMATION" G DUMP
X XMREC S DA=+$P(XMRG,"#",2) I 'DA G DUMP
S DA(1)=+$O(^ECX(727,"AB",DA,0)) G DUMP:'DA(1)
DEL S DIK="^ECX(727,"_DA(1)_",1," D ^DIK
DUMP F X XMREC Q:XMER
K DIK,DA
S XMSER="S."_XQSOP,XMZ=XQMSG D REMSBMSG^XMA1C
Q