|
I have not been following all the lines of this thread too closely so forgive me if I am repeating, however how about retrieving the console name from system values. Then using the retrieve device description information you should be able to get something that looks like: Allocated to: Job name . . . . . . . . . . . . . : QCTL User . . . . . . . . . . . . . . : QSYS Number . . . . . . . . . . . . . : 006403 Current message queue . . . . . . : QSYSOPR The job name is going to always be the controlling subsystem. It should work even if the device is not signed on because the subsystem will allocate it. I have not tried this in practice, but it is an approach. Jim
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.