FUP Commands
File Utility Program (FUP) Reference Manual—523323-014
2-25
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.