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.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.