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



Jan,

Look at the MATMATR in the MI manual

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/tstudio/tech_ref/mi/

and member MATMATR in QSYSINC/MIH.

In ILE RPG you can adapt the stuff shown below.

D MatMatr PR EXTPROC('_MATMATR1')
D * VALUE
D 2 CONST

Parameter 1 is the information you want to return.

D wanteddtaPTR S * INZ( %Addr(wanteddtaDS) )
D MatHMC S 2 INZ(x'0208')
D wanteddtaDS DS
layout of data...

CallP MatMatr(wanteddtaPtr: MatHMC);

Define the layout you need under wanteddtaDS.

Hope this helps.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of II - Jan
Sent: Tuesday, April 03, 2007 11:12 AM
To: midrange-l@xxxxxxxxxxxx
Subject: LPAR


Hi all

I'm looking for an API or something like this, so I can retrieve the
partition name (normally up 8 or even 31 character in never release of
OS), but are no able to find something "real".... QYHCHCOP comes nearby,
but doesn't work, when using logical partition without HMC, as I can
understand.

Can anyone give me a hint ?

:-)

Thanks
Jan

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.