|
Using a column containing the same number x in each row as data2 is the same as using the constant x as data2.
|
|
The NE operator can be abbreviated with an exclamation point followed by an equal sign (!=) or by a less-than sign followed by a greater-than sign (<>).
|
TEMP = 3 NE 4 or TEMP = 3 != 4 TEMP = 3 <> 4
Creates a new column named TEMP containing the value one (since three is not equal to four).
|
Creates a new column named TEMP, where each value is one if the corresponding row value of the column V1 is not equal to the number eight, otherwise zero.
|
Creates three new columns named TEMP, VX, and VY. The values in the TEMP column are the contents of column V1 compared to the value two, the values of the VX column are the contents of column V2 compared to the value two, and the values of the VY column are the contents of column V3 compared to the value two.
|
Creates a new column named TEMP containing all zeros (since every number is equal to itself).
|
Creates a new column named TEMP, where each value is the row value of column V1 compared to the corresponding row value of column V2.
|
Creates three new columns named TEMP, VX, and VY. The column TEMP contains the values in V1 compared to the corresponding row values of column V4. The column VX compares columns V2 and V5. The column VY compares columns V3 and V6.
|
TEMP = V1[10:20] != V2 or TEMP = V1[10:20] != V2[1:11]
Creates a new column named TEMP, where the first 11 cells contain the results of comparing the values in rows 10-20 of column V1 and rows 1-11 of column V2. The other cells in TEMP are empty.
|
Copyright IBM Corporation 2013. All Rights Reserved.
|