VSITNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2960812.192141
;;1.0;PCE PATIENT CARE ENCOUNTER;**76**;Aug 12, 1996
; Patch PX*1*76 changes the 2nd line of all VSIT* routines to reflect
; the incorporation of the module into PCE. For historical reference,
; the old (VISIT TRACKING) 2nd line is included below to reference VSIT
; patches.
;
;;2.0;VISIT TRACKING;;Aug 12, 1996
;;7.3;2960812.192141
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 ;;
AUPNVSIT ;;5352310
VSIT ;;6026028
VSIT0 ;;911420
VSITASK ;;2075464
VSITBUL ;;2905102
VSITCK ;;937977
VSITCK1 ;;1017425
VSITDEF ;;9470989
VSITFLD ;;2638733
VSITGET ;;3290786
VSITHLP ;;6841141
VSITIENV ;;3898032
VSITIPOS ;;2337494
VSITIPRE ;;79953
VSITKIL ;;3586292
VSITOE ;;4386878
VSITPUT ;;492684
VSITPUT1 ;;1489104
VSITSTAT ;;3053946
VSITVAR ;;6380345
VSITVID ;;1147478
VSITNTEG ;ISC/XTSUMBLD KERNEL - Package checksum checker ;2960812.192141
+1 ;;1.0;PCE PATIENT CARE ENCOUNTER;**76**;Aug 12, 1996
+2 ; Patch PX*1*76 changes the 2nd line of all VSIT* routines to reflect
+3 ; the incorporation of the module into PCE. For historical reference,
+4 ; the old (VISIT TRACKING) 2nd line is included below to reference VSIT
+5 ; patches.
+6 ;
+7 ;;2.0;VISIT TRACKING;;Aug 12, 1996
+8 ;;7.3;2960812.192141
+9 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 ;;
AUPNVSIT ;;5352310
VSIT ;;6026028
VSIT0 ;;911420
VSITASK ;;2075464
VSITBUL ;;2905102
VSITCK ;;937977
VSITCK1 ;;1017425
VSITDEF ;;9470989
VSITFLD ;;2638733
VSITGET ;;3290786
VSITHLP ;;6841141
VSITIENV ;;3898032
VSITIPOS ;;2337494
VSITIPRE ;;79953
VSITKIL ;;3586292
VSITOE ;;4386878
VSITPUT ;;492684
VSITPUT1 ;;1489104
VSITSTAT ;;3053946
VSITVAR ;;6380345
VSITVID ;;1147478