File Utility Programming (FUP) Reference Manual
FUP Commands
File Utility Program (FUP) Reference Manual—523323-015
2-27
CHECKSUM Examples
CHECKSUM Examples
To recompute checksum values for all the files on volume $TEST1 (except
secondary partitions of partitioned files):
-CHECKSUM $TEST1.*.*
If partitioned files exist on $TEST1, FUP skips the secondary partitions because
the wild-card character (*) is specified for the files in fileset-list, and the
PARTONLY option is not included in the command.
To recompute checksum values for all the files on volume $TEST1 (including any
existing partitioned files):
-CHECKSUM $TEST1.*.*, PARTONLY
In this example, assume that a checksum error for $DATA appears on the operator
console and that $DATA contains these SQL and Enscribe files:
An SQL table named KSTABLE
An index on KSTABLE named KSTABLEI
An SQL protection view named PVIEW that depends on table KSTABLE
An SQL shorthand view named SVIEW that also depends on KSTABLE
An SQL program file named OFILE
A structured Enscribe file named SFILE
An unstructured Enscribe file named UFILE
To recompute checksum values for all the files on volume $DATA:
10> FUP CHECKSUM $DATA.*.*
This command produces these results:
Checksum values are recomputed for SQL files KSTABLE and KSTABLEI, for
the SQL object program file OFILE, and for the Enscribe files SFILE and
UFILE.
SQL views PVIEW and SVIEW are skipped, and a warning message appears.