source: FOIAVistA/tag/r/KERNEL-XU-A4A7-USC-XG-XLF-XNOA-XPD-XQ-XVIR-ZI-ZOSF-ZOSV-ZT-ZU-%Z-XIP--XQAB--XUC--XUR--ZIN--ZTED/XUGET.m@ 668

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

initial load of FOIAVistA 6/30/08 version

File size: 844 bytes
Line 
1XUGET ; SF/XAK - PACKAGE INTEGRITY CHECKER ;12/14/92 11:47 ;
2 ;;8.0;KERNEL;;Jul 10, 1995
31 W ! S DIR("A",1)="This answer is case sensitive.",DIR("A")="Select PACKAGE PREFIX",DIR(0)="FO^2:4"
4 S DIR("?")="Prefix must be 2 to 4 characters in length.",DIR("??")="^D H^XUGET"
5 D ^DIR G END:$D(DIRUT) S X=X_"NTEG"
6 X ^%ZOSF("TEST") I '$T W !!?5,"Integrity program does not exist." G 1
7 W ! S XD="^"_X S %ZIS="Q" D ^%ZIS G END:POP
8 I $D(IO("Q")) K IO("Q") S ZTRTN="GO^XUGET",ZTSAVE("XD")="",ZTDESC="ROUTINE INTEGRITY CHECKER",ZTIO=ION D ^%ZTLOAD G 1
9GO W !,"Running "_XD_"..." D @XD G END:$D(ZTSK)
10 G 1
11H ;
12 S DZ="?",DIC="^DIC(9.4,",DIC(0)="QE",D="C",DIC("S")="N X S X=$P(^(0),U,2)_""NTEG"" X ^%ZOSF(""TEST"")"
13 S DIC("W")="W ?15,$P(^(0),U)" D DQ^DICQ
14 K %,%Y,DD,DIX,DIY,DO,DISYS,D,DIC,DZ
15 Q
16END K %I,ZTSK,XD,IO("Q"),POP,LN,I,L,X,DIR,DIRUT S U="^" Q
Note: See TracBrowser for help on using the repository browser.