How to get the list of programs and service program have binded a given RPGLE module for a specific library

Viewed 259

Suppose i have a Rpgle modle name and a library name. How do i find out for that library list what is the list of programs and service programs that module is binded to.

1 Answers

if you are on 7.3 or higher you can use sql. You can find further information here.

SELECT * 
  FROM qsys2.bound_module_info
 WHERE bound_module = 'YOUR_MODULE' AND
       bound_module_library = 'YOUR_LIBRARY';
Related