Maybe using the API QSYLOBJA is the way to go.
Found this at ibm's site
Seems to fit the bill.
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact