In this blog post, let’s learn about the error message “307 Illegal subscript definition.” in Hydra and the description of the error.
Error Message
307 Illegal subscript definition.
Error Details
This statement refers to a substring of a character variable. The substring values (two numbers in square brackets) are incorrect. The first is less than zero or greater than the length of the column, or the second is less than the first. Review all uses of square brackets in the statement to find the error. Possibly the size of a column has been altered and makes a substring fail that used to work.
Leave a Reply