Yes, you can debug per your earlier request
How to use debug on a interactive program with subfiles
Please let us know what problems your having with debug.
Ok the interactive RPG file will not compile when I use CRTBNDRPG or CRTRPGMOD which I have to used to get to the debug views option. Our system uses CRTRPGPGM as the option 14 which will create a good compile but no debug views to modify to *list. so in either case when use STRDBG and change update prod to *yes and hit enter nothing happens and no lines of code appear to set breakpoints. If I F3 out and perform a call to the display pgm I go straight into the display screens and not into the lines of like I would expect.
Oh — is this an RPG or RPGLE program?
As Yorkshireman said use STRISDB for RPG, use STRDBG for RPGLE.
Change the type? If you’ve got an RPG program you have to convert the source code to rpgle!
On RPG source CRTBNDRPG would throw lots of errors since it assumes column positions based on RPGLE.
Or if you want to stay with RPG then you cannot use STRDBG but you can use STRISDB.