source: FOIAVistA/tag/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHQREC.m@ 1158

Last change on this file since 1158 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.1 KB
Line 
1DVBHQREC ;ALB/JLU This routine recompiles all the print and input templates. ;3/19/90
2 ;;V4.0;HINQ;;03/25/92
31 W !!!,DVBLN,!,?20,"Recompilation of '",$S(DVBF="^DIE(":"Edit' templates",1:"Print' templates"),!,DVBLN
4 S DVBA="DVBHI" F DVB=1:1 S DVBA=$O(@(DVBF_"""B"",DVBA)")) Q:DVBA=""!($E(DVBA,1,5)'="DVBHI") S DVBN=+$O(^(DVBA,0)) I DVBN>0,$D(@(DVBF_"+DVBN,""ROUOLD"")")),^("ROUOLD")]"",$D(^(0)) S X=$P(^("ROUOLD"),U) D 2
5 Q
62 W !!,"----Recompiling '",DVBA,"' ",$S(DVBF["^DIE":"Input",1:"Output")," Template----"
7 I ^%ZOSF("OS")["M/11" S DMAX=3500
8 E S DMAX=4000
9 S Y=+DVBN D @($S(DVBF["^DIE":"EN^DIEZ",1:"EN^DIPZ")) I $D(@(DVBF_DVBN_",""ROU"")")) W !!,?3," '",DVBA,"' has been recompiled in the ",^("ROU"),"* routines.",!
10 Q
11E S:'$D(DTIME) DTIME=300 S $P(DVBLN,"*",80)="",%=1,U="^" W !,"Do you want to Recompile the HINQ edit and print templates" D YN^DICN G:%<0!(%=2) K1 I %=0 W !!,"A YES answer will recompile all the HINQ edit and print templates.",! G E
12 ;start RT monitor
13 D:$D(XRTL) T0^%ZOSV
14 S DVBF="^DIE(" D 1
15 S DVBF="^DIPT(" D 1
16 S:$D(XRT0) XRTN=$T(+0) D:$D(XRT0) T1^%ZOSV
17K1 K X,Y,DVB,DVBA,DVBF,DVBLN,DVBN,%,%Y Q
Note: See TracBrowser for help on using the repository browser.