|
Precision for this macro function is limited to integer values less than . No negative values are allowed.
|
|
The BIT_AND operator can be abbreviated with an ampersand (&). Use the ampersand to separate the two arguments (for example, to specify BIT_AND(V1, 3), you can simply type V1&3.
|
TEMP = 3 BIT_AND 7 or TEMP = 3 & 7
|
Creates a new column named TEMP, where each value is the contents of column V1 bitwise AND-ed with the binary value 1000.
|
Creates a new column named TEMP containing the same contents as the column V1 (every value AND-ed with itself produces itself).
|
Creates a new column named TEMP, where each value is the row value of column V1 bitwise AND-ed with the corresponding row value of column V2.
|
Creates three new columns named TEMP, VX, and VY. The column TEMP contains the values in V1 bitwise AND-ed with the corresponding row values of column V4. The column VX contains the bitwise AND-ed values from columns V2 and V5. The column VY contains the bitwise AND-ed values from 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 bitwise AND-ed result of the values in rows 10-20 of column V1 by the values in rows 1-11 of column V2. The other cells in TEMP are empty.
|
BIT_XOR or XOR
|
Copyright IBM Corporation 2015. All Rights Reserved.
|