3

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.

jmarkmurphy
  • 11,030
  • 31
  • 59
Kunal Roy
  • 729
  • 3
  • 11
  • 1
    the `QBNLPGMI` and `QBNLSPGM` APIs provide this information. https://www.itjungle.com/2012/08/22/fhg082212-story02/ – RockBoro Mar 05 '21 at 17:13

1 Answers1

5

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';
iiSiggi
  • 175
  • 8