access.check-sum

Verb: Access/Access: Verbs, Releases: AP and R83

Produces check sum total.

Syntax

check-sum file.reference {itemlist} {attr.name} {sellist} {modlist} {(options)}

Description

calculates a hexadecimal 'checksum' for a specified attribute, or the entire item if no attribute is specified, and produces result as a list.

The checksum statistics change whenever a file is updated, which provides a means of determining if a file has been changed.

When an 'itemlist' is specified, statistics are calculated only for the selected item-ids. If not specified, the entire file is used.

If an 'attr.name'is specified, statistics are generated only for the attribute name or number specified. If 'attr.name' is not used, or if the specified attribute number is 9999, the entire item is used.

The attribute mark trailing the specified attribute (or item) is included in the statistics.

To use checksum statistics, 'check-sum' all files, or portions of files to be verified and record the output statistics. At a later time, repeat the check-sum process. To verify that the files have not changed, manually compare the two checksums.

Options

see 'Options: Access'

Example

check-sum bp
Byte statistics for : bp
Total Average Maximum Min
Bytes = 39546 919.67 8117 13
Values = 1614 37.53 320 1
Attributes = 1614 37.53 320 1
#Items = 43
Chksum =EBF3CE55
Bits = 121447

See Also

Command Name Type Description
file.reference Definition How to reference files in Pick.
access.verbs Definition General form of Access sentences.
list.processor Definition Access output-processing facility.
ue.1070 User Exit Returns a checksum for the current item
ue.8070 User Exit Returns a checksum for the current item
access.options Definition Standard options: b,c,d,h,i,j,k,n,p,r,s,u,y
tcl.chksum Verb: Access Creates check-sums for all or selected items in a file.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.