Use the Full-Screen Debugger with OPM Programs
November 6, 2002 Timothy Prickett Morgan
Can I debug RPG III (also known as RPG/400) programs using the Start Debug (STRDBG) command instead of the Start Interactive Source Debugger (STRISDB) command?
Yes, and I recommend you do so. I have not used ISDB in years. If anyone out there prefers ISDB to the system debugger, please let me know why .
When you compile the RPG program, specify OPTION(*SRCDBG) on the Create RPG Program (CRTRPGPGM) command.
When you’re ready to debug, specify OPMSRC(*YES) on the STRDBG command.
This also works for OPM COBOL and CL programs. Specify OPTION(*SRCDBG) on the Create a Cobol Program (CRTCBLPGM) and Create Control Language Program (CRTCLPGM) commands. You can use OPTION(*LSTDBG) when compiling with CRTRPGPGM, CRTCLPGM, CRTCBLPGM, Create SQL RPG Program (CRTSQLRPG), Create SQL COBOL Program (CRTSQLCBL), and Create Auto Report RPG Program (CRTRPTPGM) commands.
ELIMINATE THE COSTS OF PRE-PRINTED FORMS, LABOR AND POSTAGE WITH
iSeries based e-Forms, e-Checks, e-Mail, e-FAX, and Document Retrieval from the Web are available as individual modules or as a complete e-Document processing ‘Suite’.
Click to Download the Complete Suite or Individual Modules today