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 Appendix D. 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. |