Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

BITLOCATION

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).

Read syntax diagramSkip visual syntax diagram>>-BITLOCATION(x)----------------------------------------------><
 

Abbreviation: BITLOC

x
Reference of type unaligned bit. If x does not have type unaligned bit, a value of 0 is returned.

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.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)