XBL ; IHS/ADC/GTH - List Template Exporter ; [ 02/07/97 3:02 PM ]
;;3.0;IHS/VA UTILITIES;;FEB 07, 1997
;
W !,"'XB DISPLAY' List Template..."
S DA=$O(^SD(409.61,"B","XB DISPLAY",0)),DIK="^SD(409.61,"
D ^DIK:DA
S DIC(0)="L",DIC="^SD(409.61,",X="XB DISPLAY"
KILL DO,DD D FILE^DICN
S VALM=+Y
I VALM>0 D
. S ^SD(409.61,VALM,0)="XB DISPLAY^1^^200^4^21^1^1^^XB DISPLAY^OUTPUT BROWSER^1^^1"
. S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
. S ^SD(409.61,VALM,"ARRAY")=" ^TMP(""XBLM"",$J,XBNODE)"
. S ^SD(409.61,VALM,"FNL")="D EXIT^XBLM"
. S ^SD(409.61,VALM,"HDR")="D HDR^XBLM"
. S ^SD(409.61,VALM,"HLP")="D HELP^XBLM"
. S ^SD(409.61,VALM,"INIT")="D INIT^XBLM"
. S DA=VALM,DIK="^SD(409.61,"
. D IX1^DIK
. KILL DA,DIK
. W "Filed."
.Q
;
KILL DIC,DIK,VALM,X,DA
Q
;
XBL ; IHS/ADC/GTH - List Template Exporter ; [ 02/07/97 3:02 PM ]
+1 ;;3.0;IHS/VA UTILITIES;;FEB 07, 1997
+2 ;
+3 WRITE !,"'XB DISPLAY' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","XB DISPLAY",0))
SET DIK="^SD(409.61,"
+5 IF DA
DO ^DIK
+6 SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="XB DISPLAY"
+7 KILL DO,DD
DO FILE^DICN
+8 SET VALM=+Y
+9 IF VALM>0
Begin DoDot:1
+10 SET ^SD(409.61,VALM,0)="XB DISPLAY^1^^200^4^21^1^1^^XB DISPLAY^OUTPUT BROWSER^1^^1"
+11 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+12 SET ^SD(409.61,VALM,"ARRAY")=" ^TMP(""XBLM"",$J,XBNODE)"
+13 SET ^SD(409.61,VALM,"FNL")="D EXIT^XBLM"
+14 SET ^SD(409.61,VALM,"HDR")="D HDR^XBLM"
+15 SET ^SD(409.61,VALM,"HLP")="D HELP^XBLM"
+16 SET ^SD(409.61,VALM,"INIT")="D INIT^XBLM"
+17 SET DA=VALM
SET DIK="^SD(409.61,"
+18 DO IX1^DIK
+19 KILL DA,DIK
+20 WRITE "Filed."
+21 QUIT
End DoDot:1
+22 ;
+23 KILL DIC,DIK,VALM,X,DA
+24 QUIT
+25 ;