TATOOL contains the tools you’re looking for for mapping programs/modules
” The Module Use tool allows you to capture information about the
modules in ILE programs or service programs. A subfile display
provides a ‘where used’ capability of what programs contain the same
module. A second subfile display provides a simple review of
modules by program. You must first convert the information from ILE
*PGM and *SRVPGM objects. ”
If it doesn’t contain an update command, it has at least created the file necessary. So a relatively simple CL program could read through the file and update the programs.
I’m sure there are other methods.
If you don’t have TAATOOLs installed you may want to look at the series of articles starting with Module, Module, Who’s Got My Module?