VistA-FOIAVistA/r/ENGINEERING-EN/ENPLNTEG.m

60 lines
1.6 KiB
Mathematica

ENPLNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;SEP 23, 1994@11:03:46
;;7.0;ENGINEERING;**11**;AUG 17, 1993
;;7.1;SEP 23, 1994@11:03:46
S XT4="I 1",X=$T(+3) W !!,"Checksum routine created on ",$P(X,";",4)," by KERNEL V",$P(X,";",3),!
CONT F XT1=1:1 S XT2=$T(ROU+XT1) Q:XT2="" S X=$P(XT2," ",1),XT3=$P(XT2,";",3) X XT4 I $T W !,X X ^%ZOSF("TEST") S:'$T XT3=0 X:XT3 ^%ZOSF("RSUM") W ?10,$S('XT3:"Routine not in UCI",XT3'=Y:"Calculated "_$C(7)_Y_", off by "_(Y-XT3),1:"ok")
;
K %1,%2,%3,X,Y,XT1,XT2,XT3,XT4 Q
ONE S XT4="I $D(^UTILITY($J,X))",X=$T(+3) W !!,"Checksum routine created on ",$P(X,";",4)," by KERNEL V",$P(X,";",3),!
W !,"Check a subset of routines:" K ^UTILITY($J) X ^%ZOSF("RSEL")
W ! G CONT
ROU ;;
ENPL1A ;;5854180
ENPL3 ;;5419978
ENPL3A ;;7121136
ENPL3B ;;3187479
ENPL5 ;;11954696
ENPL5A ;;9263528
ENPL5B ;;9330297
ENPL5C ;;10715722
ENPL7 ;;8490601
ENPL7A ;;2644157
ENPL7C ;;4635308
ENPL8 ;;7222844
ENPL8A ;;4930998
ENPL9 ;;4693213
ENPLI001 ;;3595240
ENPLI002 ;;10496429
ENPLI003 ;;14728385
ENPLI004 ;;9367169
ENPLI005 ;;1412863
ENPLI006 ;;19108540
ENPLI007 ;;22074315
ENPLI008 ;;24092103
ENPLI009 ;;16160587
ENPLI00A ;;13880693
ENPLI00B ;;16380181
ENPLI00C ;;14938646
ENPLI00D ;;15145762
ENPLI00E ;;14654883
ENPLI00F ;;15693283
ENPLI00G ;;11430916
ENPLI00H ;;7611688
ENPLI00I ;;7093718
ENPLI00J ;;3742243
ENPLINI1 ;;5725348
ENPLINI2 ;;5232600
ENPLINI3 ;;16093571
ENPLINI4 ;;3357772
ENPLINI5 ;;562852
ENPLINIT ;;10758345
ENPLIPRE ;;6819171
ENPLIPST ;;7664910
ENPLSV ;;2746665
ENPLSV1 ;;6018738
ENPLSV2 ;;1834859
ENPLSV3 ;;5667638
ENPLSV4 ;;5552917
ENPLTR ;;4876853
ENPLUTL ;;3489604