LOCATION returns a FIXED BINARY value specifying the byte location of x within the level-1 structure or union that has member x.
|
Abbreviation: LOC
The value for x must not be subscripted.
LOCATION can be used in restricted expressions, with a limitation. The value for x must be declared before y if LOC(x) is used to set either of the following:
Under the CMPAT(V3) compiler option, LOCATION returns a FIXED BIN(63) value. Under all other CMPAT options, it returns a FIXED BIN(31) value.