APCPPREI ; IHS/TUCSON/LAB - CREATED BY XBBPI ON APR 11,1996 ; [ 04/03/98 08:39 AM ]
;;2.0;IHS PCC DATA EXTRACTION SYSTEM;;APR 03, 1998
;
;DELETE SECURITY KEY APCPPURGE
;delete option
S DA=$O(^DIC(19,"B","APCP RPT SUMMARY RPT PCIS",0)) I DA S DIK="^DIC(19," D ^DIK
K DA,DIK
S DA=$O(^DIC(19.1,"B","APCPPURGE",0)) I DA S DIK="^DIC(19.1," D ^DIK
K ^UTILITY("XBDSET",$J) F XBBPI=1:1 S XBBPIX=$P($T(Q+XBBPI),";;",2) Q:XBBPIX="" S XBBPIY=$P(XBBPIX,"=",2,99),XBBPIX=$P(XBBPIX,"=",1) S @XBBPIX=XBBPIY
K XBBPI,XBBPIX,XBBPIY D EN2^XBKD
Q Q
;;^UTILITY("XBDSET",$J,9001005)=S^S
;;^UTILITY("XBDSET",$J,9001005.1)=S^S
;;^UTILITY("XBDSET",$J,9001005.2)=S^S
;;^UTILITY("XBDSET",$J,9001005.3)=S^S
APCPPREI ; IHS/TUCSON/LAB - CREATED BY XBBPI ON APR 11,1996 ; [ 04/03/98 08:39 AM ]
+1 ;;2.0;IHS PCC DATA EXTRACTION SYSTEM;;APR 03, 1998
+2 ;
+3 ;DELETE SECURITY KEY APCPPURGE
+4 ;delete option
+5 SET DA=$ORDER(^DIC(19,"B","APCP RPT SUMMARY RPT PCIS",0))
IF DA
SET DIK="^DIC(19,"
DO ^DIK
+6 KILL DA,DIK
+7 SET DA=$ORDER(^DIC(19.1,"B","APCPPURGE",0))
IF DA
SET DIK="^DIC(19.1,"
DO ^DIK
+8 KILL ^UTILITY("XBDSET",$JOB)
FOR XBBPI=1:1
SET XBBPIX=$PIECE($TEXT(Q+XBBPI),";;",2)
IF XBBPIX=""
QUIT
SET XBBPIY=$PIECE(XBBPIX,"=",2,99)
SET XBBPIX=$PIECE(XBBPIX,"=",1)
SET @XBBPIX=XBBPIY
+9 KILL XBBPI,XBBPIX,XBBPIY
DO EN2^XBKD
Q QUIT
+1 ;;^UTILITY("XBDSET",$J,9001005)=S^S
+2 ;;^UTILITY("XBDSET",$J,9001005.1)=S^S
+3 ;;^UTILITY("XBDSET",$J,9001005.2)=S^S
+4 ;;^UTILITY("XBDSET",$J,9001005.3)=S^S