Austin, Mark wrote:

I've got an ILE Cobol program with 3 modules in it. One of the modules has aborted with a subscript out of range error at statement 2979. When I compile the module and check the source listing for the statement 2979 it isn't a statement referring to a subscripted field.


A module with some 3000 'statements' is decent sized. Statements may include many source lines. What optimization was applied to the production module? It might be that optimization has caused some loss of synchronization between listed statement numbers and the compiled code.

Is there any chance of running the same input through a test version of the program? Can you show us lines from the compile listing that include a few statement numbers surrounding statement 2979?

Tom Liotta

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.