You can do a DSPPGMREF of all your programs to an OUTFILE and then query that.
Most shops dave a software package that does this for you.
IMHO the best and most commonly used is HAWKEYE PATHFINDER
Well worth the investment
Register Hereor login if you are already a member