Hi,
According to the help on the STRISDB command this should also work for COBOL programs.
There is also a STRCBLDBG command available and there is a whole chapter in the COBOL/400 user's guide.
<a href="http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp?topic=/rzase/sc092540131.htm">ILE COBOL/400 </a>
<a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/c0918120.pdf">OPM COBOL/400</a> - See chapter 5.
Regards,
Martin Gilbert.
Hi,
You can use "STRDBG" interactively or "STRSRVJOB" and "STRDBG" for batch job. On CBL type program, when you compile them. Use "*LSTDBG" under the "Source listing options" (in add'l options) and you can use step by step debug and use "F11" to view variable/fields and can change them too. You can set stopping point(s), view other modules/programs (using F14), view variables/fields in hex. All of this and other options can be found in the AS400 manuals.
Hope this helps!!
Michael Dratwa
=====================================
First compile your program with 14 option, then f4.
Change parameters: F10 vista de depuracion - *ALL (sorry, i don t know how is in english)authorization - *ALL, THEN INTRO.
Just write STRDBG LIB/ PROGRAM NAME.
Put a (punto de interrupcion) F6 , F10.
Here you have to call the program , something like this: CALL LIB/PROGRAM NAME.
oK that s all !
Sylvana.