Marc,
That will work. Tread lightly. I used just CNSLTYPE and part of the
display was
DstConsoleType is:04
which is HMC.
I believe there is an SQL service but it's only documented to support one
option and I don't believe CNSLTYPE was it. I'll be danged if I can find
that service though.

On Mon, May 15, 2023 at 3:25 PM Marc Rauzier <marc.rauzier@xxxxxxxxx> wrote:

Le 15/05/2023 à 20:22, Rob Berendt a écrit :
I think you're looking for the information in
STRSST
8. Work with Service Tools Server Security and Devices
2. Select console
I'll do some more digging to see if it's accessible programmatically.

Did not test it but maybe it is possible through Must Gather Tool RUNAA
command?

QMGTOOLS/RUNAA RQS(*OPSCONSOLE):
https://www.ibm.com/support/pages/qmgtools-run-aa-macros

More information on OPSCONSOLE macro:
https://www.ibm.com/docs/en/i/7.5?topic=network-using-opsconsole-macro



On Mon, May 15, 2023 at 9:31 AM <stefan@xxxxxxxxxx> wrote:

Hi,



Where can I find the current console type for the IBM i partition –
preferably an API or similar that can be used programmatically?



Thanks,



Stefan




Stefan Tageson

+46 732 369934











--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
related
questions.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.