HLASM Programmer's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


ASMA094I

HLASM Programmer's Guide
SC26-4941-06

Substring goes past string end; default=remainder

Explanation

The second expression of a substring notation specifies a length that extends beyond the end of the string.

System action

The result of the substring operation is a string that ends with the last character in the character string.

Programmer response

Make sure the arithmetic expression used to specify the length does not specify characters beyond the end of the string. Either change the first or the second expression in the substring notation. You can use the assembler option FLAG(NOSUBSTR) to suppress this message.

Severity

0

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014