KVC%cit-vax@engvax.UUCP (08/26/85)
There is an undocumented CHECKSUM command in VMS. I know it works in V4.1, and I seem to remember it in the past (V3) but can't be sure. It's a little odd. The command is of the form: CHECKSUM[/image /file /output=filename] file.ext The /IMAGE qualifier tells it to checksum a .EXE file in a special way, that gives you the checksum for each image section and the image header. The normal operation of CHECKSUM is to calculate the checksum of the file (I do not know what the mapping algorithm is) and leave the result in the DCL symbol CHECKSUM$CHECKSUM. Wierd.... No other output is produced unless you are using /IMAGE, in which case it prints the results of the image section checksums to SYS$OUTPUT or to the output specifed with /OUTPUT=. It also leaves a checksum in the DCL symbol when you use /IMAGE. /Kevin Carosso engvax!kvc @ CIT-VAX.ARPA Hughes Aircraft Co. "Finder of lost features..."