ACDL ;IHS/ADC/EDE/KML - LIST TEMPLATE EXPORTER ;
;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
;; ;
W !,"'ACD GENERAL RETRIEVAL TEMPLATE' List Template..."
S DA=$O(^SD(409.61,"B","ACD GENERAL RETRIEVAL TEMPLATE",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="ACD GENERAL RETRIEVAL TEMPLATE" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="ACD GENERAL RETRIEVAL TEMPLATE^1^^80^7^20^1^1^Item^ACD GR MENU SELECTION^ACD GENERAL RETRIEVAL TEMPLATE^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ACDLIST"
.S ^SD(409.61,VALM,"FNL")="D EXIT^ACDRL4"
.S ^SD(409.61,VALM,"HDR")="D HDR^ACDRL4"
.S ^SD(409.61,VALM,"HLP")="D HELP^ACDRL4"
.S ^SD(409.61,VALM,"INIT")="D INIT^ACDRL4"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
ACDL ;IHS/ADC/EDE/KML - LIST TEMPLATE EXPORTER ;
+1 ;;4.1;CHEMICAL DEPENDENCY MIS;;MAY 11, 1998
+2 ;; ;
+3 WRITE !,"'ACD GENERAL RETRIEVAL TEMPLATE' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","ACD GENERAL RETRIEVAL TEMPLATE",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+5 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="ACD GENERAL RETRIEVAL TEMPLATE"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="ACD GENERAL RETRIEVAL TEMPLATE^1^^80^7^20^1^1^Item^ACD GR MENU SELECTION^ACD GENERAL RETRIEVAL TEMPLATE^1^^1"
+8 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=" ACDLIST"
+10 SET ^SD(409.61,VALM,"FNL")="D EXIT^ACDRL4"
+11 SET ^SD(409.61,VALM,"HDR")="D HDR^ACDRL4"
+12 SET ^SD(409.61,VALM,"HLP")="D HELP^ACDRL4"
+13 SET ^SD(409.61,VALM,"INIT")="D INIT^ACDRL4"
+14 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+15 WRITE "Filed."
End DoDot:1
+16 ;
+17 KILL DIC,DIK,VALM,X,DA
QUIT