• Subject: RE: Debugging COBOL ILE - a BUG?
  • From: "Weatherly, Howard" <hweatherly@xxxxxxxxxxxx>
  • Date: Wed, 1 Aug 2001 09:33:59 -0400

Geir,
 
The other alternative would be to initialize the values before populating them. I have run into this as well and it is annoying especially when I tell it to not optimize.
-----Original Message-----
From: geir.kildal@entragroup.com [mailto:geir.kildal@entragroup.com]
Sent: Monday, July 30, 2001 08:18
To: COBOL400-L@midrange.com
Subject: Debugging COBOL ILE - a BUG?


Hello.

Does anyone know why a WORKING-STORAGE element definition on lowest level, is not available in the 'EVAL' command in the debugger, UNLESS IT IS REFFERED TO WITHIN PROCEDURE DIVISION?

An example from real life:


WORKING STORAGE SECTION.
01 WS-FIELDS.
      05 X                     PIC 9.
      05 Y                     PIC 9.

PROCEDURE DIVISION.
MAIN SECTION.
A-000.
          move 1 to X        (note that Y is not reffered to)
...
debugging: EVAL X  gives result = 1 (OK)
                        EVAL Y gives error message 'Identifier does not exist'

In my example, the 'Y' got its value in return  from a called procedure, but was not available in the debugger neither before nor after tha call!



Mvh.

Geir


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-2021 by midrange.com 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.