VMS Help
MERGE, Specification File Qualifiers, /OMIT
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Specifies that records are to be omitted from the output file
based on a condition defined with a /CONDITION qualifier.
Format
/OMIT=(CONDITION=condition-name)
CONDITION=condition-name
Refers to the condition-name previously specified in a /CONDITION
qualifier.
You can specify that records are to be omitted from the output
file by using the /OMIT qualifier. First, you must define a
condition with the /CONDITION qualifier. Specify your record
selection with an /OMIT qualifier requesting the records
satisfying that condition be selected for omission from your
sort. By default, Sort/Merge includes all the other input records
in the output file.
You can specify multiple /OMIT and /INCLUDE qualifiers in your
specification file. The order you specify them determines the
order the input records are tested for omission. All the records
that have not already been included or omitted after the last
/OMIT qualifier are included. You can unconditionally omit any
records not previously omitted or included by specifying the
/OMIT qualifier only.
/FIELD=(NAME=ZIP,POSITION:20,SIZE:6)
/CONDITION=(NAME=LOCATION,
TEST=(ZIP EQ "01863"))
/OMIT=(CONDITION=LOCATION)
These /CONDITION and /OMIT qualifiers specify that records with
the zip code 01863 are to be omitted from your output file.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.