Approved Answer - Chosen by Sureyz (Question Asker)
DSPPGM will give you information about the program, including the module names and the libraries of the modules. Source is stored in a source file which is often named qrpglesrc. Phil
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
ILE RPG programs aren’t created from source; they’re created from modules that are already compiled. Tom
You can also try the command DSPOBJD lib/PGM.Then take either option 5 or 8 , I can’t remember, but it will tell where the object was compiled from.
DSPOBJD would work for older OPM RPG programs, but not for ILE RPG. — Tom