PIMSNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;3100114.071629
;;0.0;
;;7.3;3100114.071629
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 ;;
ADGCALLS ;;4830357
ADGFXDS ;;1770397
BDGDSA ;;15689734
BDGPAR ;;1847561
BDGSPTR ;;2568828
BDGVAR ;;6294597
BSDAL ;;4103712
BSDAL1 ;;1900825
BSDAL2 ;;14502192
BSDALL ;;3375738
BSDAM ;;13766348
BSDAMR ;;2761842
BSDAVAIL ;;803542
BSDC ;;18795369
BSDCAR ;;1749127
BSDCCR0 ;;14501967
BSDCCR2 ;;13527682
BSDNSR ;;990147
BSDNXAA ;;6648842
BSDP11PS ;;1358193
BSDRCLN ;;1641352
BSDROUT ;;23790983
BSDU ;;11878738
BSDWKR ;;1638810
BSDWKR6 ;;10772885
SDC0 ;;16294215