Comparison values in Query for iSeries
The value you compare the field with can be:
vAnother field
vA numeric constant
vA character constant (SBCS or DBCS)
vA date constant
vA time constant
vA timestamp constant
The field and the value you are comparing must be compatible data types. The following are valid
comparisons for record selection tests:
vSBCS character field with:
SBCS character
DBCS-either
DBCS-open
vDBCS-either field with:
SBCS character
DBCS-either
DBCS-open
DBCS-only
vDBCS-open field with:
SBCS character
DBCS-either
DBCS-open
DBCS-only
vDBCS-only field with:
DBCS-either
DBCS-open
DBCS-only
vDBCS-graphic field with:
DBCS-graphic
vUCS2-graphic field with:
UCS2-graphic
vNumeric field with a numeric field
vDate field with:
SBCS character
Date
DBCS-either
DBCS-open
vTime field with:
SBCS character
Time
DBCS-either
DBCS-open
vTimestamp field with:
Chapter 7. Selecting records in Query for iSeries 93