IBM0851S
ONCODE=oncode-value The array structure element could not be mapped.

Explanation

The program was compiled with CMPAT(V1). Either the program contained a structure with:
  • An adjustable element and an array element with extents that cause the relative virtual origin to exceed 2³²-1.
  • A structure with an adjustable element and an array with a lower bound greater than the upper bound.
DCL 1 A CTL,
2 B CHAR(N),
2 C (15000:15001, 15000:15001,
15000:15001) CHAR(32700);
N=2;
ALLOCATE A;

The ONCODE associated with this message is 3801.

System action

The ERROR condition is raised.

Programmer response

If possible, compile the program with the CMPAT(V2) option. If recompiling is not possible:
  • Ensure aggregates with array elements remain within the limit of addressability (2³² -1), or
  • Ensure the lower bound is not greater than the upper bound.

Symbolic Feedback Code

IBM0QJ