× 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.



Ok, I'm not a hardware guy so this might be a stupid question to someone who
is.

When I do a DSPHDWRSC *STG to *OUTFILE, I see a resource description = 18
that matches what I know are my disk drives (based on resource name).

It looks like I can use the QGYRHRL API and I'm assuming the resource
category (parm 4) would be 5 - Storage device resources. Should I expect to
see in the resource category parm of RHRL010 a value of 18 for disk drives
(based on the *OUTFILE information)? Are these values documented somewhere
so when I need something else I don't have to go the DSPHDWRSC route to
figure out what to look for?

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Bruce
Vining
Sent: Monday, January 28, 2019 5:50 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: API for service tool info?

If DSPHDWRSC (suggested by Paul Roy) meets your needs then I would recommend
going with it. There are however APIs available along these lines. There are
others, but the main ones can be found under Hardware Resouces
<https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/apis/hw1.htm>
and Disk Management
<https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_73/apis/config2.ht
m>
APIs.

Bruce

On Mon, Jan 28, 2019 at 4:24 PM Paul Roy <paul.roy@xxxxxxx> wrote:

DSPHDWRSC provides the info...


Paul



From: smith5646midrange@xxxxxxxxx
To: "'Midrange Systems Technical Discussion'"
<midrange-l@xxxxxxxxxxxx>
Date: 28/01/2019 23:17
Subject: API for service tool info?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>



I have a client that is asking for "reports" that include things that
I have only been able to find using system service tools. One example
is looking at their disks. They want serial numbers, ASP info, type,
model, size, resource name, and some other stuff. I'm guessing they
just want everything on one page instead of looking at multiple pages
from SST to see the details.



Are there APIs that can retrieve this type of info if it only exists
inside of SST? I'm just after a pretty generic yes or no so I know
whether I'm wasting my time trying to find them.

--
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@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
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@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



--
Thanks and Regards,
Bruce
931-505-1915
--
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@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


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.