Previous Topic: SyntaxNext Topic: MEMBER


Parameters

MATCHED supports the following parameters:

ddname

The one to eight-character ddname of the sequential file in which all of the MATCHED records are written.

ALL

Specifies that all matched records in the old and new files are written to the ddname.

NEW

Specifies that only matched records from the new file are written to the ddname. This is the default value.

OLD

Specifies that only matched records from the old file are written to the ddname.

Example

This example syntax writes matched records from the new file to the sequential file referenced by ddname MTCHRECS.

COMPARE
MATCHED(MTCHRECS)