XPAR3 ;ISF/RWF - Remove all parameters for a user ;4/1/02 08:42
;;7.3;TOOLKIT;**60**;Apr 25, 1995
;
DELUSR(ENT) ;Delete all instances of all parameters for a user (entity).
; Should only be called when a user is terminated.
N DA,DIK
I ENT'?1N.N S ERR=$$ERR^XPARDD(89895007) Q
S ENT=ENT_";VA(200,"
S DA="",DIK="^XTV(8989.5,"
F S DA=$O(^XTV(8989.5,"B",ENT,DA)) Q:DA="" D
. D ^DIK
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HXPAR3 454 printed Nov 22, 2024@17:50:09 Page 2
XPAR3 ;ISF/RWF - Remove all parameters for a user ;4/1/02 08:42
+1 ;;7.3;TOOLKIT;**60**;Apr 25, 1995
+2 ;
DELUSR(ENT) ;Delete all instances of all parameters for a user (entity).
+1 ; Should only be called when a user is terminated.
+2 NEW DA,DIK
+3 IF ENT'?1N.N
SET ERR=$$ERR^XPARDD(89895007)
QUIT
+4 SET ENT=ENT_";VA(200,"
+5 SET DA=""
SET DIK="^XTV(8989.5,"
+6 FOR
SET DA=$ORDER(^XTV(8989.5,"B",ENT,DA))
if DA=""
QUIT
Begin DoDot:1
+7 DO ^DIK
End DoDot:1
+8 QUIT