forked from s390guy/vm370
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBITXOR.HELPREXX
More file actions
19 lines (15 loc) · 835 Bytes
/
BITXOR.HELPREXX
File metadata and controls
19 lines (15 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BITXOR function
+-----------------------------------------------------------------------------+
| BITXOR(string1, [string2], [pad]) |
+-----------------------------------------------------------------------------+
Returns a string that is a bitwise logical-exclusive-or of the two input
strings, extended to the right with the pad character. If the pad character is
not specified, 'FF'x (i.e., all 1 bits) is used. If string2 is not specified,
a null string (i.e., '') is used.
Examples:
BITXOR('12'x, '22'x) == '30'x
BITXOR('1211'x, '22'x) == '3011'x
BITXOR('C7ll'x, '222222'x, ' ') == 'E53362'x
BITXOR('llll'x, '444444'x) == '555544'x
BITXOR('llll'x, '444444'x, '40'x) == '555504'x
BITXOR('llll'x, , '4D'x) == '5C5C 'x