VistA-FOIAVistA/r/IFCAP-PRC-PRX--PRCA--PRCN/PRX7NTEG.m

53 lines
1.4 KiB
Mathematica

PRX7NTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2950908.084555
;;5.0;IFCAP;**18**;4/21/95
;;7.3;2950908.084555
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 ;;
PRC0A ;;3370954
PRC0C ;;3642304
PRCB1C ;;9115610
PRCB8A ;;5733668
PRCB8A1 ;;5207865
PRCB8A2 ;;5442345
PRCBCS ;;11360722
PRCESOE ;;7926846
PRCESOE1 ;;4856563
PRCESOE2 ;;1318095
PRCESOM ;;11995665
PRCFD8H ;;5506730
PRCFDA ;;8405200
PRCFDA2 ;;11678609
PRCFDT ;;4288003
PRCFFM1M ;;4866260
PRCFFM2M ;;4782874
PRCFFMO ;;12624945
PRCFFMO1 ;;12019318
PRCFFMO2 ;;1626466
PRCFFMOM ;;11537713
PRCFFU2 ;;3382661
PRCFFU41 ;;10552039
PRCFFU8 ;;4343759
PRCFFUC ;;9497340
PRCFFUC1 ;;4079873
PRCFFUC2 ;;4189896
PRCFOOR2 ;;5157522
PRX7I001 ;;8386088
PRX7I002 ;;8890203
PRX7I003 ;;8348789
PRX7I004 ;;2251547
PRX7I005 ;;16693808
PRX7I006 ;;786196
PRX7INI1 ;;4855396
PRX7INI2 ;;5232559
PRX7INI3 ;;16807134
PRX7INI4 ;;3357731
PRX7INI5 ;;609078
PRX7INIS ;;2212139
PRX7INIT ;;10186428