× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I should have provided the example.

I found one in the archives:
https://archive.midrange.com/midrange-l/201612/msg00752.html

and I put one on github
https://gist.github.com/bdietz400/11c4244f45714408ff627d831ab747e1


Bryan

Bryan Dietz wrote on 5/15/2023 3:14 PM:
I've used this API to get console info *if* an HMC console

https://www.ibm.com/docs/en/i/7.4?topic=instructions-materialize-machine-attributes-matmatr#MATMATR__mat0204

not sure about non-hmc consoles

bryan



Rob Berendt wrote on 5/15/2023 2:50 PM:
I'd like to do some comparisons.
All my lpars use HMC.  I'd like to compare the results of the following
with someone using Lan Console:
SELECT * FROM TABLE (QSYS2.HARDWARE_RESOURCE_INFO(RESOURCE_CATEGORY *=>*
'WORKSTATION',
                                                   DETAILED_INFO *=>* 'YES'
));
I'm wondering if the console_type is hidden in the RESOURCE_KIND* columns.
000000000000000400000000000000010000000008000001

On Mon, May 15, 2023 at 2:22 PM Rob Berendt <robertowenberendt@xxxxxxxxx>
wrote:

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.

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.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.