APCLL ; IHS/CMI/LAB - List Template Exporter 07-JAN-1997 ;
;;2.0;IHS PCC SUITE;;MAY 14, 2009
W !,"'APCL VGEN SELECT ITEMS' List Template..."
S DA=$O(^SD(409.61,"B","APCL VGEN SELECT ITEMS",0)),DIK="^SD(409.61," D ^DIK:DA
K DO,DD S DIC(0)="L",DIC="^SD(409.61,",X="APCL VGEN SELECT ITEMS" D FILE^DICN S VALM=+Y
I VALM>0 D
.S ^SD(409.61,VALM,0)="APCL VGEN SELECT ITEMS^1^^80^7^20^1^1^Item^APCL VGEN SELECTION ITEMS^GENERAL RETRIEVAL^1^^1"
.S ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
.S ^SD(409.61,VALM,"ARRAY")=" APCLLIST"
.S ^SD(409.61,VALM,"FNL")="D EXIT^APCLVL4"
.S ^SD(409.61,VALM,"HDR")="D HDR^APCLVL4"
.S ^SD(409.61,VALM,"HLP")="D HELP^APCLVL4"
.S ^SD(409.61,VALM,"INIT")="D INIT^APCLVL4"
.S DA=VALM,DIK="^SD(409.61," D IX1^DIK K DA,DIK
.W "Filed."
;
K DIC,DIK,VALM,X,DA Q
APCLL ; IHS/CMI/LAB - List Template Exporter 07-JAN-1997 ;
+1 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
+2 WRITE !,"'APCL VGEN SELECT ITEMS' List Template..."
+3 SET DA=$ORDER(^SD(409.61,"B","APCL VGEN SELECT ITEMS",0))
SET DIK="^SD(409.61,"
IF DA
DO ^DIK
+4 KILL DO,DD
SET DIC(0)="L"
SET DIC="^SD(409.61,"
SET X="APCL VGEN SELECT ITEMS"
DO FILE^DICN
SET VALM=+Y
+5 IF VALM>0
Begin DoDot:1
+6 SET ^SD(409.61,VALM,0)="APCL VGEN SELECT ITEMS^1^^80^7^20^1^1^Item^APCL VGEN SELECTION ITEMS^GENERAL RETRIEVAL^1^^1"
+7 SET ^SD(409.61,VALM,1)="^VALM HIDDEN ACTIONS"
+8 SET ^SD(409.61,VALM,"ARRAY")=" APCLLIST"
+9 SET ^SD(409.61,VALM,"FNL")="D EXIT^APCLVL4"
+10 SET ^SD(409.61,VALM,"HDR")="D HDR^APCLVL4"
+11 SET ^SD(409.61,VALM,"HLP")="D HELP^APCLVL4"
+12 SET ^SD(409.61,VALM,"INIT")="D INIT^APCLVL4"
+13 SET DA=VALM
SET DIK="^SD(409.61,"
DO IX1^DIK
KILL DA,DIK
+14 WRITE "Filed."
End DoDot:1
+15 ;
+16 KILL DIC,DIK,VALM,X,DA
QUIT