The log gives you all the information you will need. You just need to read it. Here's what to look for.
There are two spots in which you refer to the array: loading elements into it, and retrieving elements from it. The log will tell you which statement encountered the subscript out of range.
Once you have that, the log will also tell you the values of all variables on that observation. It should be easy to see which of the subscript variables are out of range.
At that point, it might be clear as day or you might have to do a little digging into the data, to figure out why the subscripts take on those values.
... View more