Use the BOOLWORD() function to perform a Boolean operation on two numeric values and to return the numeric result.
The BOOLWORD() function has this syntax:
result = BOOLWORD({AND},value,value)
{OR}
{XOR}
The BOOLWORD() function takes these arguments:
Numeric result of the operation.
Perform a Boolean AND function.
Perform a Boolean OR function.
Perform a Boolean exclusive OR function.
Numeric value in character-string format.
The BOOLWORD() function produces these return codes:
ARG n MISSING OR INVALID
Example
boolword('OR','020','001') == '21' /* Leading zeros are ignored */
boolword('OR',2,1) == '3'
boolword('AND','2','1') == '0'
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |