UNLIKE

UNLIKE, NOT.MATCHING

Top  Previous  Next

 

The UNLIKE selection clause operator compares a field or evaluated expression against another field, evaluated expression or literal value and tests for the first item not matching the pattern template given by the second. The synonym NOT.MATCHING can be used.

 

 

Format

 

field UNLIKE {NO.CASE} template

 

where

 

fieldis the first field or evaluated expression to be compared.

 

templateis the field, evaluated expression or literal value representing the pattern against which field is to be compared. The optional NO.CASE qualifier causes a case insensitive comparison to be applied.

 

 

Example

 

LIST STOCK WITH PRODUCT.CODE UNLIKE A...

 

This command lists items found on the STOCK file with a PRODUCT.CODE not starting with A.

 

 

See also:

Pattern Matching