Just found this thought it could be of some use (attachment)
by JR Friedman
by JR Friedman
Code:
It is possible to retrieve source from RPG programs if the program has been compiled with the correct parameters. The following procedure will retrieve the source from single-module RPGLE programs compiled with CRTBNDRPG with DBGVIEW(*LIST). We have changed our command default to this option to allow debugging on our production machine, which does not contain program source. The program could be modified to handle RPG III programs compiled with OPTION(*LSTDBG) and multiple module ILE programs. As far as I know, the retrieval works with the exception of list directives (i.e. /EJECT) and color/highlight special characters.
Comment