Title: DEBUG--Field values
Hello Raja,
                I don't totally understand what your saying but if I'm right your using the F11 Key to display fields and record formats.  There is a difference between RPG and COBOL if you display a record format in COBOL you get the whole record without field definition.  I couldn't tell you what your receive in RPG, but when I've done RPG I was debugging on specific fields not record formats.  You have to use the F11 key on the exact field you want in a specific record format. Another answer would be copy the DDS into your program as actual source code and don't use the Copy DDS command.  This would let you go and check specific fields in the FD portion of your program.  Also if you are using field names that are not unique you will have a problem in the debugger because it doesn't know which record format to display the field from.  If you have access to Code 400 the debugger in Code 400 is a bit better than the AS/400 interactive debugger.  There are probably some other people that know more about this than I.  Just trying to help.
 
Rick
 
----- Original Message -----
From: Raja_Nama
Sent: Monday, October 23, 2000 12:01 AM
Subject: DEBUG--Field values

 HI-----

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 COBOL400.
Please do not say give different names/alies names to the fields in each of the file.

Thanx in advance

regards
reddy raja nama 


This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2020 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].