61 lines
1.5 KiB
Mathematica
61 lines
1.5 KiB
Mathematica
LRARNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2960927.133408
|
|
;;0.0;
|
|
;;7.3;2960927.133408
|
|
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 ;;
|
|
LRARC1 ;;8057210
|
|
LRARC1A ;;7551325
|
|
LRARCAM4 ;;4883647
|
|
LRARCAM5 ;;8082382
|
|
LRARCAM6 ;;7621254
|
|
LRARCAM7 ;;6625073
|
|
LRARCAM8 ;;3479308
|
|
LRARCAM9 ;;2638806
|
|
LRARCHD ;;9196529
|
|
LRARCHE ;;5412358
|
|
LRARCHIV ;;13825109
|
|
LRARCHK ;;2475932
|
|
LRARCMA ;;1284698
|
|
LRARCMA1 ;;5994082
|
|
LRARCMA2 ;;5544118
|
|
LRARCMA3 ;;1522458
|
|
LRARCML ;;1408312
|
|
LRARCML1 ;;8242060
|
|
LRARCML2 ;;7049838
|
|
LRARCML3 ;;1740028
|
|
LRARCMR ;;2712045
|
|
LRARCMR1 ;;4350123
|
|
LRARCMR2 ;;3284495
|
|
LRARCPTS ;;9257550
|
|
LRARCR1 ;;8142068
|
|
LRARCR1A ;;7551931
|
|
LRARCR2 ;;8465914
|
|
LRARCR3 ;;5129368
|
|
LRARCR3A ;;4484549
|
|
LRARCR3B ;;4742651
|
|
LRARCR4 ;;6894529
|
|
LRARCTS1 ;;4492090
|
|
LRARCU ;;7957935
|
|
LRARIPOS ;;5364920
|
|
LRARIPRE ;;1389637
|
|
LRARLMW ;;5672582
|
|
LRARLMW1 ;;5344968
|
|
LRARNPX ;;3137485
|
|
LRARNPX0 ;;2099132
|
|
LRARNPX1 ;;7962098
|
|
LRARPLM ;;4647019
|
|
LRARPW ;;4466164
|
|
LRARREP ;;5635459
|
|
LRARU ;;15415528
|
|
LRARU1 ;;5264251
|
|
LRARVER ;;5713034
|
|
LRARWKD ;;5003131
|
|
LRARWKD1 ;;5127188
|
|
LRCAPML ;;1745351
|