It was defined in WORKING-STORAGE of a method that was not static. I normally use LOCAL-STORAGE instead of WORKING-STORAGE for my methods. My actual fix was to define the variable in OBJECT-STORAGE because it was a counter I incremented each time I called the method.
↧