ccssaavveerriiffyy - verifies that the accounting records are
valid
SYNOPSIS
//uussrr//ssbbiinn//ccssaavveerriiffyy [--PP pacctfile] [--oo offsetfile]
[--mm nrec] [--vv] [--DD]
DESCRIPTION
The ccssaavveerriiffyy command verifies that the accounting records
are valid. The accounting file (pacctfile) can be a pacct
or sorted pacct file.
When ccssaavveerriiffyy finds an invalid record, it reports the
starting byte offset and length of the record. This
information can be written to a file in addition to stan
dard output. A length of -1 indicates the end of file.
The resulting output file can be used as input to
csaedit(8) to delete pacct or sorted pacct records.
The ccssaavveerriiffyy command checks to ensure primary records and
linked records of a primary record (if there are any) are
legal. The valid primary records are CSA base, start-of-
job, end-of-job, configuration, workload management, tape
(deferred), and job header. Only CSA base records can
have linked records. The primary records themselves can
not be linked records.
The ccssaavveerriiffyy command checks to ensure that the pacct or
sorted pacct file only contains record types appropriate
for that file. The following record types are in a sorted
pacct file and are not allowed in a pacct file: job header
record and consolidated workload management records.
Filename options are as follows:
--PP pacctfile
Specifies the filename of a pacct or sorted
pacct accounting file. The default is
//vvaarr//ccssaa//wwoorrkk//WWppaacccctt.
--oo offsetfile
Specifies that information about invalid
records, formatted for input to the ccssaaeeddiitt
command, should be written to the file offset
file. This information will still be written
to standard output in a more user-friendly
format.
Output options are as follows:
--mm nrec Specifies that no more than nrec invalid
records are reported. By default, all invalid
records will be reported.
dard output.
--DD Sets debug mode. Output is written to stan
dard output.
EXAMPLES
The following example verifies the Wpacct1 pacct file with
verbose mode turned on. In addition to writing informa
tion about invalid records to standard output, information
formatted for input to ccssaaeeddiitt is written to the file
invalid.
ccssaavveerriiffyy --PP WWppaacccctt11 --oo iinnvvaalliidd --vv
FILES
//uussrr//iinncclluuddee//ccssaaaacccctt..hh Daemon accounting
header file
//uussrr//iinncclluuddee//ccssaa..hh Accounting records
header file
SEE ALSO
csaedit(8), csarun(8).
Man(1) output converted with
man2html