Create a filter
You can only create a filter by using a specification file.
Use the syntax shown in Specification-file conventions to create a filter by using a specification file.
Use the following syntax to create
a filter by using a specification file:
BEGIN OBJECT FILTER filtername
# Compulsory Attributes
PROJECT projectname
FORMAT formatname
BEGIN SEQUENCE
FIELDNAME data_file_fieldname
STATUS record_status
MATCH match_criteria
END SEQUENCE
END OBJECT
The following table lists the attributes
and their values.
Attribute | Attribute value |
---|---|
data_file_fieldname | Data-file field to be used in the match condition |
formatname | Associated format name |
filtername | Filter name |
match_criteria | Match criteria, in quotation marks. See Match condition operators and characters. |
projectname | Name of existing project |
record_status | Type a K to keep records that
meet a match condition or D to discard them. |