|
Jim, Interesting idea. I'll have to play with it, to make sure it's consistent, but that should work! Thanks. -mark Original Message: ----------------- From: Jim Oberholtzer JOberholtzer@xxxxxxxxxxxx Date: Tue, 11 Apr 2006 12:15:38 -0500 To: midrange-l@xxxxxxxxxxxx Subject: Re: Retrieving active controlling subsystem 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 -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
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.