4 - 10 en-938872/2
Declaring Entries as a List of Bits in a Field of the BUILD Function
In a symbolic variable, some of the following axes and arguments can be declared
as a list of bits:
- axes X, Y, Z, etc.,
- arguments I, J, K,
- arguments P, Q, R.
The list of bits is declared by programming one of addresses X, I or P followed by a
decimal point and the symbolic variable name in a field of BUILD.
Example:
BUILD [TAB1(G/I.Symb/R,NB)] H..
Declaration of I.Symb
Symbolic variable [Symb] contains a sum of values. This sum is defined from the
indexes of the addressing symbols [
••
IBX(i)], [
••
IBI(i)] and [
••
IBP(i)], i.e.:
- 1 for index i = 1
- 2 for index i = 2
- 4 for index i = 3
- 8 for index i = 4, etc.
Therefore, the value of the variable including I, J and K of [
••
IBI(i)] is equal to
2
I-1
+ 2
J-1
+ 2
K-1
.
Example:
VAR [LIST] = 6
ENDV
BUILD [PROF(G/X.LIST/R,NB)] N.. N..
is equivalent to the following block:
BUILD [PROF(G/Y/Z/R,NB)] N.. N..