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


  • Subject: LPARS, Processor Groups and Serial Numbers
  • From: bvining@xxxxxxxxxxxx
  • Date: Wed, 11 Jul 01 13:55:19 CDT

Actually that API does not exist for V5R1 either.  QYLPRLCI, and some
other related ideas, were not done in favor of the QYHCHCOP (Perform
Hardware Configuration Operation) API.  QYHCHCOP allows you to both
retrieve and change configuration information.  The documentation
found at the referenced URL should not be there (and hopefully will
not be there too much longer).

If what you want is the current partition serial number, then one
approach available since V4R4 is the unblocked MI instruction MATMATR
and option 01E0.  This provides the logical serial number of the
current partition.

In V5R1 you could also use QYHCHCOP to access the partition serial
number though this may not be as easy due to this API having quite a
bit of function built into it (that isn't needed in your particular
case) and also being XML based in terms of the API interface (unless
of course you have already worked with XML in other APIs).  This API
can be found in the Configuration category of system APIs under Perform
Hardware Configuration.

Bruce

>
>I tried locating this API on my v4r5 box and didn't find it.  I assume  this
>means that it's new to v5r1?
>
>>
>>Not sure if this will help or not but QYLPRLCI looks like it will return
>>the current and primary partition. Looks like you need to pass in -1 as the
>>partition ID  see
>>http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/info/apis/qylprlci
>>.html
>>
>


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.