VALIDATE

PURPOSE:  This equated command will read through a specified DOMAIN and check to see if a record has multiple entry points (without reading the actual records).  it will also check to see if there are any records in the data set that should be in the DOMAIN but are not.  It qualifies records if the DOMAIN has an ENTER IF clause.

SYNTAX

VALIDATE [DI DI.name] [DOMAIN DOMAIN.name] [CHECK /ONLY/] [COMPARE]

DI DI.name

name of DI to be VALIDATED.

DOMAIN DOMAIN.name

if DOMAIN name is not specified, the first domain is assumed.

CHECK /ONLY/

if specified it will list the entries it finds in error.  If not specified it will give you the option of correcting the errors as they are uncovered.

COMPARE

if specified it will check every index key against the actual data in the record.

EXAMPLES

If VALIDATE is entered by itself, the user will be prompted to enter the DI name, the DOMAIN name, and the CHECK option.

*VALIDATE

All options can be entered on command line.

*VALIDATE DI CUSTOMER DOMAIN ADDRESS CHECK