IBM0751S
ONCODE=oncode-value A GOTO was attempted to an element of a label constant array, but the subscripts for the element were not those of any label in that array.

Explanation

The subscripts of an element in a GOTO statement must match the label in the specified array. This error occurs in the following code if n is 1, 3, 5 or 7:

dcl n fixed
bin;

.
.
.

goto x(n);

.
.
.

x(0):

.
.
.

x(2):

.
.
.

x(4):

.
.
.

x(6):

.
.
.

x(8):
Note: This error will not occur if n is less than the lower bound for x or greater than the upper bound.

The ONCODE associated with this message is 9003.

System action

The ERROR condition is raised.

Programmer response

Correct your program.

Symbolic Feedback Code

IBM0NF