WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

BITOR function

The BITOR numeric function performs a bitwise OR on the binary representation of two or more numbers.

Syntax

Read syntax diagramSkip visual syntax diagram
                                .-,--------------.      
                                V                |      
>>-BITOR--(--source_integer--,----source_integer-+--)----------><

BITOR takes two or more integer values and returns the result of performing the bitwise OR on the binary representation of the numbers. The result is INTEGER unless either parameter is NULL, in which case the result is NULL.

For example:
BITOR(12, 7)
returns 15, as shown by this worked example:
   Binary Decimal
    1100    12
OR  0111     7
_________
    1111    15
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:11


Reference topicReference topic | Version 8.0.0.7 | ak05330_