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



Doug Davie wrote:

In one of my RPG *MODULEs, I am using the API dlpar_get_info from the
service program QPMLPMGT to retrieve LPAR information.
This *MODULE is bound together with 5 other *MODULEs into my *PGM.
I display the LPAR information retrieved on the screen.

QPMLPMGT became available in V5R3, yet I must still support customers
on releases prior to that.
When my customer on V5R2 attempts to run this program, they receive:
CPD0192: Service program QPMLPMGT not found.

Doug:

Personally, I simply wouldn't use that particular API until I had to. If you want partitioning data, you can call the _MATMATR1 builtin to get a bunch of info.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzatk/MATMATR.htm
or
http://tinyurl.com/6jq8ky

This is easy enough to call even from ILE CL and it works on V5R2 and at least some earlier releases.

Naturally, if dlpar_get_info provides data that _MATMATR1 does not, you're stuck. I've used dlpar_get_info on V5R3 and above, but only for some general info.

Tom Liotta


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.