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



Nothing fancy, but here's another CLLE (requires V5R4 or higher):

Pgm
Dcl Var(&Template) Type(*Char) Len(32)
Dcl Var(&BytPrv) Type(*Int) +
Stg(*Defined) DefVar(&Template 1)
Dcl Var(&LPARNbr) Type(*Char) Len(1) +
Stg(*Defined) DefVar(&Template 10)

Dcl Var(&Number) Type(*Char) Len(3) Value(x'000000')

ChgVar Var(&BytPrv) Value(32)
CallPrc Prc('_MATMATR1') Parm(&Template x'01E0')
ChgVar Var(%sst(&Number 3 1)) Value(&LPARNbr)
ChgVar Var(&Number) Value(%bin(&Number 2 2))
SndUsrMsg Msg(&Number)

EndPgm
On Wed, May 5, 2010 at 2:16 PM, <bdietz400@xxxxxxxxx> wrote:

I cannot think of a command to get that level of information.

What LPAR you are in is a bit ambiguous, do you mean LPAR 1 of 4 or
something else?

this IBM doc has a CLLE that will get that info for you.

http://www-01.ibm.com/support/docview.wss?uid=nas13b7f08dfa345d05786256fb3005ddec5

You can also get it fairly easy with the Retrieve System Status (QWCRSSTS)
API using format SSTS0200.
Look for Number of Partitions and Partition ID.

Bryan


I cannot think of an i5OS command

On May 5, 2010 2:15pm, "James HH Lampert" <jamesl@xxxxxxxxxxxxxxxxx>
wrote:
Other than to run the authorization code utility for one of our

products, that is.



One of our support people passed the question on to me, and I'm not sure

if an easy way to find that out from the command line even exists.



--

JHHL

--

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list

To post a message email: MIDRANGE-L@xxxxxxxxxxxx

To subscribe, unsubscribe, or change list options,

visit: http://lists.midrange.com/mailman/listinfo/midrange-l

or email: MIDRANGE-L-request@xxxxxxxxxxxx

Before posting, please take a moment to review the archives

at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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 ...

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.