GECSNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;AUG 30, 1994@11:06:24
;;2.0;GCS;;MAR 14, 1995
;;7.2;AUG 30, 1994@11:06:24
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 ;;
GECSA ;;20073
GECSBATC ;;3869401
GECSCALL ;;211561
GECSDG ;;4924658
GECSE ;;17373
GECSE1 ;;62016
GECSE2 ;;18064
GECSEDIT ;;5435360
GECSENTR ;;3103894
GECSETUP ;;5964241
GECSLIST ;;57563
GECSMUT1 ;;9252463
GECSMUT2 ;;4230177
GECSPOS1 ;;1631257
GECSPOST ;;1212100
GECSPPRE ;;1904541
GECSPUR1 ;;6739363
GECSPURG ;;5541863
GECSREP0 ;;4220915
GECSRST1 ;;5407600
GECSRSTA ;;5315105
GECSSCOM ;;1265167
GECSSDCT ;;3057930
GECSSGET ;;976530
GECSSITE ;;3962553
GECSSTAA ;;4711255
GECSSTT1 ;;5092396
GECSSTTM ;;7913025
GECSSTTR ;;7827856
GECSSTTT ;;4885188
GECSTRAN ;;10143245
GECSUFM1 ;;6400538
GECSUFMS ;;8588233
GECSULOC ;;1285089
GECSUNUM ;;1041909
GECSUSEL ;;5305729
GECSUSTA ;;2924817
GECSUTIL ;;5685888
GECSVFY ;;1483583
GECSVFY0 ;;12143795
GECSVFY1 ;;9521615
GECSX5 ;;145227
GECSXBL1 ;;4165390
GECSXBLD ;;11219584
GECSXMAP ;;7927454
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HGECSNTEG 1599 printed Dec 13, 2024@01:56:14 Page 2
GECSNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;AUG 30, 1994@11:06:24
+1 ;;2.0;GCS;;MAR 14, 1995
+2 ;;7.2;AUG 30, 1994@11:06:24
+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 ;;
GECSA ;;20073
GECSBATC ;;3869401
GECSCALL ;;211561
GECSDG ;;4924658
GECSE ;;17373
GECSE1 ;;62016
GECSE2 ;;18064
GECSEDIT ;;5435360
GECSENTR ;;3103894
GECSETUP ;;5964241
GECSLIST ;;57563
GECSMUT1 ;;9252463
GECSMUT2 ;;4230177
GECSPOS1 ;;1631257
GECSPOST ;;1212100
GECSPPRE ;;1904541
GECSPUR1 ;;6739363
GECSPURG ;;5541863
GECSREP0 ;;4220915
GECSRST1 ;;5407600
GECSRSTA ;;5315105
GECSSCOM ;;1265167
GECSSDCT ;;3057930
GECSSGET ;;976530
GECSSITE ;;3962553
GECSSTAA ;;4711255
GECSSTT1 ;;5092396
GECSSTTM ;;7913025
GECSSTTR ;;7827856
GECSSTTT ;;4885188
GECSTRAN ;;10143245
GECSUFM1 ;;6400538
GECSUFMS ;;8588233
GECSULOC ;;1285089
GECSUNUM ;;1041909
GECSUSEL ;;5305729
GECSUSTA ;;2924817
GECSUTIL ;;5685888
GECSVFY ;;1483583
GECSVFY0 ;;12143795
GECSVFY1 ;;9521615
GECSX5 ;;145227
GECSXBL1 ;;4165390
GECSXBLD ;;11219584
GECSXMAP ;;7927454