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.
Asked
Active
Viewed 515 times
3
-
1the `QBNLPGMI` and `QBNLSPGM` APIs provide this information. https://www.itjungle.com/2012/08/22/fhg082212-story02/ – RockBoro Mar 05 '21 at 17:13
1 Answers
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
-
2might add `and program_library = 'SOMELIB'` otherwise it's going to look at ILE program in every library on the system. – Charles Mar 05 '21 at 15:24
-
-
2