ACRFL ;IHS/OIRM/DSD/THL,AEF - List Template Exporter ; [ 11/01/2001 9:44 AM ]
;;2.1;ADMIN RESOURCE MGT SYSTEM;;NOV 05, 2001
;; ;
W !,"'ACR DISPLAY' List Template..."
S DA=$O(^SD(409.61,"B","ACR DISPLAY",0)),DIK="^SD(409.61,"
D ^DIK:DA
K DO,DD
S DIC(0)="L",DIC="^SD(409.61,",X="ACR DISPLAY"
D FILE^ACRFDIC
S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="ACR DISPLAY^1^^200^4^21^1^1^^ACR DISPLAY^OUTPUT BROWSER^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ACRLM"",$J,ACRNODE)"
.S ^SD(409.61,VALM,"FNL")="D EXIT^ACRFLM"
.S ^SD(409.61,VALM,"HDR")="D HDR^ACRFLM"
.S ^SD(409.61,VALM,"HLP")="D HELP^ACRFLM"
.S ^SD(409.61,VALM,"INIT")="D INIT^ACRFLM"
.S DA=VALM,DIK="^SD(409.61,"
.D IX1^DIK
.KILL DA,DIK
.W "Filed."
.Q
;
KILL DIC,DIK,VALM,X,DA
Q
;
ACRFL ;IHS/OIRM/DSD/THL,AEF - List Template Exporter ; [ 11/01/2001 9:44 AM ]
+1 ;;2.1;ADMIN RESOURCE MGT SYSTEM;;NOV 05, 2001
+2 ;; ;
+3 WRITE !,"'ACR DISPLAY' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","ACR DISPLAY",0))
SET DIK="^SD(409.61,"
+5 IF DA
DO ^DIK
+6 KILL DO,DD
+7 SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="ACR DISPLAY"
+8 DO FILE^ACRFDIC
+9 SET VALM=+Y
+10 IF VALM>0
Begin DoDot:1
+11 SET ^SD(409.61,VALM,0)="ACR DISPLAY^1^^200^4^21^1^1^^ACR DISPLAY^OUTPUT BROWSER^1^^1"
+12 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+13 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""ACRLM"",$J,ACRNODE)"
+14 SET ^SD(409.61,VALM,"FNL")="D EXIT^ACRFLM"
+15 SET ^SD(409.61,VALM,"HDR")="D HDR^ACRFLM"
+16 SET ^SD(409.61,VALM,"HLP")="D HELP^ACRFLM"
+17 SET ^SD(409.61,VALM,"INIT")="D INIT^ACRFLM"
+18 SET DA=VALM
SET DIK="^SD(409.61,"
+19 DO IX1^DIK
+20 KILL DA,DIK
+21 WRITE "Filed."
+22 QUIT
End DoDot:1
+23 ;
+24 KILL DIC,DIK,VALM,X,DA
+25 QUIT
+26 ;