MATCH Syntax Summary

The syntax of a MATCH request is:

MATCH FILE filename    (the OLD file) report request 
BY field1 [AS sortfield]
MORE
FILE file3
subrequest 
RUN
.
.
.
FILE filename2         (the NEW file) report request 
BY field1 [AS sortfield1]
.
.
.
[AFTER MATCH HOLD [AS filename]  matchtype]
MORE
FILE file4
subrequest 
END

where:

matchtype

Can be any of the following:

OLD
NEW
OLD-NOT-NEW
NEW-NOT-OLD
OLD-AND-NEW
OLD-OR-NEW
OLD-NOR-NEW