VALML ; List Template Exporter ; 13-AUG-1993
;;1;List Manager;;Aug 13, 1993
;; ;
W !,"'VALM DEMO APPLICATION' List Template..."
S DA=$O(^SD(409.61,"B","VALM DEMO APPLICATION",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VALM DEMO APPLICATION" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VALM DEMO APPLICATION^1^^240^5^14^1^1^Protocol^VALM DEMO MENU^Package Protocol List^2^^1^^^"
.S ^SD(409.61,VALM,1)="VALM DEMO PRINT^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=""
.S ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
.S ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3^^H^"
.S ^SD(409.61,VALM,"COL",2,0)="NAME^6^30^Option Name^R^1"
.S ^SD(409.61,VALM,"COL",3,0)="TEXT^40^50^Item Text^UB^0"
.S ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
.S ^SD(409.61,VALM,"COL","AIDENT",1,2)=""
.S ^SD(409.61,VALM,"EXP")="D EXP^VALMD"
.S ^SD(409.61,VALM,"FNL")="D FNL^VALMD"
.S ^SD(409.61,VALM,"HDR")="D HDR^VALMD"
.S ^SD(409.61,VALM,"HLP")=""
.S ^SD(409.61,VALM,"INIT")="D INIT^VALMD"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
W !,"'VALM WORKBENCH' List Template..."
S DA=$O(^SD(409.61,"B","VALM WORKBENCH",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="VALM WORKBENCH" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="VALM WORKBENCH^1^^240^4^17^1^1^^VALM WORKBENCH^List Manager Workbench^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"COL",0)="^409.621^^0"
.S ^SD(409.61,VALM,"FNL")="D FNL^VALMWB"
.S ^SD(409.61,VALM,"HDR")="D HDR^VALMWB"
.S ^SD(409.61,VALM,"INIT")="D INIT^VALMWB"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HVALML 1725 printed Nov 22, 2024@17:20:10 Page 2
VALML ; List Template Exporter ; 13-AUG-1993
+1 ;;1;List Manager;;Aug 13, 1993
+2 ;; ;
+3 WRITE !,"'VALM DEMO APPLICATION' List Template..."
+4 SET DA=$ORDER(^SD(409.61,"B","VALM DEMO APPLICATION",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="VALM DEMO APPLICATION"
DO FILE^DICN
SET VALM=+Y
+6 IF VALM>0
Begin DoDot:1
+7 SET ^SD(409.61,VALM,0)="VALM DEMO APPLICATION^1^^240^5^14^1^1^Protocol^VALM DEMO MENU^Package Protocol List^2^^1^^^"
+8 SET ^SD(409.61,VALM,1)="VALM DEMO PRINT^VALM HIDDEN ACTIONS"
+9 SET ^SD(409.61,VALM,"ARRAY")=""
+10 SET ^SD(409.61,VALM,"COL",0)="^409.621^3^3"
+11 SET ^SD(409.61,VALM,"COL",1,0)="NUMBER^1^3^^H^"
+12 SET ^SD(409.61,VALM,"COL",2,0)="NAME^6^30^Option Name^R^1"
+13 SET ^SD(409.61,VALM,"COL",3,0)="TEXT^40^50^Item Text^UB^0"
+14 SET ^SD(409.61,VALM,"COL","AIDENT",0,3)=""
+15 SET ^SD(409.61,VALM,"COL","AIDENT",1,2)=""
+16 SET ^SD(409.61,VALM,"EXP")="D EXP^VALMD"
+17 SET ^SD(409.61,VALM,"FNL")="D FNL^VALMD"
+18 SET ^SD(409.61,VALM,"HDR")="D HDR^VALMD"
+19 SET ^SD(409.61,VALM,"HLP")=""
+20 SET ^SD(409.61,VALM,"INIT")="D INIT^VALMD"
+21 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+22 WRITE "Filed."
End DoDot:1
+23 ;
+24 WRITE !,"'VALM WORKBENCH' List Template..."
+25 SET DA=$ORDER(^SD(409.61,"B","VALM WORKBENCH",0))
SET DIK="^SD(409.61,"
if DA
DO ^DIK
+26 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="VALM WORKBENCH"
DO FILE^DICN
SET VALM=+Y
+27 IF VALM>0
Begin DoDot:1
+28 SET ^SD(409.61,VALM,0)="VALM WORKBENCH^1^^240^4^17^1^1^^VALM WORKBENCH^List Manager Workbench^1"
+29 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+30 SET ^SD(409.61,VALM,"COL",0)="^409.621^^0"
+31 SET ^SD(409.61,VALM,"FNL")="D FNL^VALMWB"
+32 SET ^SD(409.61,VALM,"HDR")="D HDR^VALMWB"
+33 SET ^SD(409.61,VALM,"INIT")="D INIT^VALMWB"
+34 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+35 WRITE "Filed."
End DoDot:1
+36 ;
+37 KILL DIC,DIK,VALM,X,DA
QUIT