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



Hello, Michael:

Although the RTVSYSVAL QSRLNBR does not tell you
the "unique" partition, you can use the following technique:

The MI instruction MATMATR has an option (X'01E0') to
retrieve partition information, which includes the following:

"Current partition identifier" is the unique identifier of the
current partition on the physical machine. This field is
materialized as a binary value. Note: If a partition is deleted,
the partition identifier of any existing partition that is active
or defined does not change.

"Primary partition identifier" is the identifier of the primary
partition. This field is materialized as a binary value.

"Logical serial number" provides a unique machine identifier
for the current partition.

etc.

You can either access MATMATR as a "built-in" function from
any ILE language (RPG-IV, COBOL or C), or you can write a
small MI routine and call this OPM *PGM from your existing
RPG/400 or other OPM applications, to retrieve this info.

See the MI Functions Reference manual for V5R1 on-line at:
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/tstudio/tech_ref/mi/

I hope that helps...

Regards,

Mark S. Waterbury

----- Original Message -----
From: <Mlpolutta@aol.com>
To: <midrange-l@midrange.com>
Sent: Tuesday, October 22, 2002 11:43 AM
Subject: LPAR and Serial number question


> Folks,
>
> Is there any way to distinguish between partitions via the serial number
of the machine?  RTVSYSVAL gives the same value no matter what the
partition.
>
> Thanks in advance,
> Michael Polutta
> Atlanta, GA
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



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.