IBM0361W
ONCODE=oncode-value The STRINGRANGE condition was raised.

Explanation

In the expression SUBSTR(S,I,J), the substring represented by starting position I for a length of J does not lie wholly within the string S.

System action

Execution continues with a revised SUBSTR reference. Refer to the Language Reference Manual for details regarding the value of the revised SUBSTR reference.

Programmer response

Ensure that the values used for I and J are neither less than nor greater than the length of S.

Symbolic Feedback Code

IBM0B9