Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
Hello, I am new to midrange forum. I have question about viewing my source code in STRDBG command. I compiled one module (PROCTOUPP) using CRTRPGMOD or option 15 in STRPDM. Then I bound it to my program, assign10v4 (RPGLE) using CRTPGM command, adding that module to this command. My module has h spec NOMAIN keyword.
My question to you is this, how can I view my source code when I use STRDBG on my compiled program (using CRTPGM)? I can't view my source code. Is there something I missed? Something I need to set before I use STRDBG? I know how to compile a single ILE RPG IV program and view it's source code using STRDBG (without modules).
Can you please help me out? Any suggestions?
When you use CRTRPGMOD, specify DBGVIEW(*SOURCE) and you will be able to view the source and use the source-level debugger. Also, Using shift+F2 while in Debug will give you a list of Modules to select from. The one you select will be the one whose source is displayed. From there you can set break points.