I have a new script that I'm trying to debug. I have two nested loops. Outer loop goes from 1 to 900; inner loop goes from 1 to 9000. The variables are i and j, respectively.
I am looking for specific conditions with the data, and when met, I need to update a column x, in the jth row of a data file, with the value "Y". Using SHOW statements, it looks like the script is working fine. However, when I actually try to update x it looks like JMP is not recognizing the value of "j", even though I'm well within the limits of the loop. Let suppose j=451. If I hardcode x[451] = "Y", the script works ok. If the script runs with x = "Y", the code doesn't execute. Does anyone see what I'm doing wrong?