I don’t think the two issues are related.
It’s the LE thingy… If you are compiling an RPGLE source it compiles to a module.
The program object wasn’t compiled the module was.
To see the source memeber you need to do a DSPPGM enter to module list and display the
Are those objects ILE type *PGM.
Ohh — on my development box – “production pgm” no source id
on my production box – source id .. turnover transfer
Going to take a better mind then mine ..
Use DSPPGM to gather a list of the modules comprising the program
use DSPOBJD for each module in turn to find the source used.
the relevant API’s allow you to automate all this if you need to .
You should also consider the question of ‘shared source’ if you are using /COPY and /INCLUDE, especially so if they are nested.