BITLOCATION returns a FIXED BINARY(31,0) result that is the location of bit x within the byte that contains x. The value returned is always between 0 and 7 (0 <= value <= 7).
|
Abbreviation: BITLOC
x must not be subscripted.
BITLOCATION can be used in restricted expressions, with the following limitations. If BITLOC(x) is used to set:
then x must be declared before y.
For examples, see LOCATION.