Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
I have heard usage of index in cobol can degrage the performance of cobol code.
Suggest you not use this source of technical informatoin any more. . .
With or without indexes code can be written poorly and thus degrade performance. . .
Properly written code will generate neither oc1 nor oc4 abends. The coder must ensure that the code does not try to reference storage outside the array(s). Thorough testing is the way to ensure the code will work for all possible inputs. . .