Start of change

Unicode comparisons

Compare a field in Unicode format to another field in Unicode format. For example, you can include only those records for which a UTF8 field is less than another UTF8 field. Or you can exclude those records for which a UTF16 field is equal to another UTF16 field. Or you can include only those records for which a UTF32 field is greater than another UTF32 field.

The following are examples of Unicode comparisons:

INCLUDE FORMAT=UTF8,COND=(5,4,LT,11,4)

Explanation: Include the records if UTF8 format data at position 5 for 4 characters is less than UTF8 format data at position 11 for 4 characters.

OMIT COND=(21,40,UTF16,EQ,151,40,UTF16)            

Explanation: Omit the records if UTF16 format data at position 21 for 40 characters is equal to UTF16 format data at 151 for 40 characters.

OUTFIL INCLUDE=(21,4,UTF32,NE,31,4,UTF32)

Explanation: Include the records if UTF32 format data at position 21 for 4 characters is not equal to UTF32 format data at 31 for 4 characters.

End of change