VMS Help  —  SEARCH  Qualifiers  /MATCH
       /MATCH=option

    Interprets and matches multiple search strings in one of the
    following ways:

    AND    A match occurs only if the record contains all the
           strings.

    EQV    A match occurs if none or all of the search strings are in
           the record.

    NOR    A match occurs only if the record contains none of the
           strings.

    NAND   A match occurs only if the record does not contain all of
           the strings.

    OR     A match occurs if the record contains any of the strings.

    XOR    A match occurs if any of the search strings are in the
           record but not if all or none of them are in the record.

    When only one search string is specified, the OR and AND options
    produce identical results. Similarly, NOR and NAND produce
    identical results for a single search string. If you specify
    none of these options, the default is /MATCH=OR.
Close Help