I think you have to qualify the name of the variable you want to display
the content of:  'Eval 'fieldname' OF 'filename'.  I'm using this every
day, and it's working!


Geir Kildal
Entra Data AS
Gjovik Norway

                    <Raja_Nama@hht.saty        To:     COBOL400-L@midrange.com  
                    am.com>                    cc:                              
                    Sent by:                   Subject:     DEBUG--Field values 
                    23.10.00 07:01                                              
                    Please respond to                                           


I am new to COBOL400 programming.
while debugging i can see the values of the fields by pressing F11 on that
particular filed in the case of RPG but in the case

of cobol i can see the complete record format contents but not the
individual fields.I can understand the reason behind it.

The memory buffer in the case of RPG is same for the field irrespective of
how many files this field contain.where as in the case of COBOL the memory
buffer  will be different for each file.

Is there any way of displaying the field values even in the case of
Please do not say give different names/alies names to the fields in each of
the file.

Thanx in advance

reddy raja nama

| This is the COBOL/400 Mailing List!
| To submit a new message, send your mail to COBOL400-L@midrange.com.
| To subscribe to this list send email to COBOL400-L-SUB@midrange.com.
| To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com

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.