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
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HLRARNTEG 1646 printed Nov 22, 2024@17:19:36 Page 2
LRARNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2960927.133408
+1 ;;0.0;
+2 ;;7.3;2960927.133408
+3 SET XT4="I 1"
SET X=$TEXT(+3)
WRITE !!,"Checksum routine created on ",$PIECE(X,";",4)," by KERNEL V",$PIECE(X,";",3),!
CONT FOR XT1=1:1
SET XT2=$TEXT(ROU+XT1)
if XT2=""
QUIT
SET X=$PIECE(XT2," ",1)
SET XT3=$PIECE(XT2,";",3)
XECUTE XT4
IF $TEST
WRITE !,X
XECUTE ^%ZOSF("TEST")
if '$TEST
SET XT3=0
if XT3
XECUTE ^%ZOSF("RSUM")
WRITE ?10,$SELECT('XT3:"Routine not in UCI",XT3'=Y:"Calculated "_$CHAR(7)_Y_", off by "_(Y-XT3),1:"ok")
+1 ;
+2 KILL %1,%2,%3,X,Y,XT1,XT2,XT3,XT4
QUIT
ONE SET XT4="I $D(^UTILITY($J,X))"
SET X=$TEXT(+3)
WRITE !!,"Checksum routine created on ",$PIECE(X,";",4)," by KERNEL V",$PIECE(X,";",3),!
+1 WRITE !,"Check a subset of routines:"
KILL ^UTILITY($JOB)
XECUTE ^%ZOSF("RSEL")
+2 WRITE !
GOTO 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