tcl.chksum
Creates check-sums for all or selected items in a file.
Syntax
chksum file.reference itemlist*
Description
calculates a hexadecimal 'checksum' for either an entire file or a list of items in the file, and outputs the results to a file.
When an 'item.list*' is specified, statistics are calculated only for the selected item-ids. If not specified, the entire file is used.
A new data section called 'checksum' is created in the specified file. Each item in the 'checksum' data section corresponds to an item in the requested file's data section and the first attribute of each item contains the hexadecimal checksum for the item.
Example
chksum temp
[404] 7 items selected out of 7 items.
runoff.box
i/nosave
basic.debugger.t
filename.sysprog-bp
op.col
op.macro.file
up.x
List the items in the checksum data-level.
li temp,checksum (c
runoff.box
001 3443F07
i/nosave
001 65D7D2B7B21
basic.debugger.t
001 644C5D32EE04
filename.sysprog-bp
001 3A4D745500C
op.col
001 6005F7623714
op.macro.file
001 5BF260B60902
up.x
001 14CC018FF4BE
[405] 7 items listed out of 7 items.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
