I just want to add a little more
info that might help. While in debug mode you can hit the F15 which gives you
different view options while you are debugging.
ILE COBOL for AS/400 Listing View will give you all fields that will be
used by the database or SQL. It will show you the DDS field names copied in from
the COPY DDS/DD/DDR-all-formats of. When you hit F11 on the
record level it should show you all fields under that level. You
can show duplicate fields in different record levels by specifying OF
RECORD-LEVEL after each field. exp. -- EV FIELD-A of
RECORD-A. Hope this helps.
-----Original Message----- From:
Behalf Of Rick S. Sent: Monday, October 23, 2000 8:41
AM To: COBOL400-L@midrange.com Subject: Re: DEBUG--Field
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.
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
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.