by BillyBoyo » Thu Feb 28, 2013 11:27 am
On line 1638 in your compile listing, you will find a reference to a table with OCCURS. The field being used to reference the table (a subscript or an index, defined by INDEXED BY) is pointing at an entry in the table of zero or less, or of greater than the number of entries in the table. You have compiled with option SSRANGE, and this is what it does, it does "bounds checking" for you.
Note, use of reference-modification will also be checked, which need not be used for a table.
Whatever you are using on line 001638, it is accessing storage that is not part of the item which is the apparent "target" of the code (the one named).