If any copy-books have been changed(increased/decreased no. of lines) since the last time you compiled the module, it will affect the statement no's when you compile.
I often have to compile 'old' pgm's again and then reestablish the error situation. Then the statement no's will be right.
"Keep it simple!"
Fra: cobol400-l-bounces@xxxxxxxxxxxx [mailto:cobol400-l-bounces@xxxxxxxxxxxx] På vegne av Austin, Mark
Sendt: 6. juli 2009 14:16
Til: COBOL Programming on the iSeries/AS400
Emne: [COBOL400-L] ILE Cobol - Find source statement
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.
I am obviously doing something wrong. Can anyone enlighten me as to how to find the source statement that is in error?
Universal Music Publishing International
Tel: +44 (0) 208 742 5520
Fax: +44 (0) 208 742 5699
Universal Music Publishing International Limited Registered in England. Number 02050403 Registered Office: 347-353 Chiswick High Road, London W4 4HS
The information contained in this e-mail is confidential, may be privileged and is intended solely for the use of the named addressee. Access to this e-mail by any other person is not authorised. If you are not the intended recipient, you should not disclose, copy, distribute, take any action or rely on it and you should please notify the sender by reply. Any opinions expressed are not necessarily those of the company.
We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you.
This is the COBOL Programming on the iSeries/AS400 (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l
As an Amazon Associate we earn from qualifying purchases.