RATE THIS ANSWER
0
Click to Vote:
0
0
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.
ILE COBOL/400 OPM COBOL/400 - 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.
Last Answered:
Nov 12 2009 2:59 PM GMT by Sylvana 
180 pts.