Dr Franken (Larry B) and Brian Dietz are the way I would look.
Call QLZARCAPI is part of the PRYSYSINF repository of LPAR info I keep on our LAN for reference. Every time I update PTF's, there are several steps I take:
Call QLZARCAPI, PRTSYSINF and SYSSNAP from QMGTOOLS.
Just use ACS to get the spooled files from PRTSYSINF and SYSSNAP. QLZARCAPI is a screen print I keep.
For jobd's, I wrote a small pgm that does a DSPJOBD *PRINT.
Best way to keep system info handy at the drop of a hat. Along with BRMS recovery reports.
Very Respectfully,
Michael Mayer
IBM I on Power System Admin.
IT Operations.
The Florida Bar
651 E. Jefferson St
Tallahassee, Florida 32399-2300
mmayer@xxxxxxxxxxxxxx
https://www.floridabar.org
Office: 850.561.5761
Cell: 518.641.8906
1. Quick easy way to determine what LPAR you're on?
(James H. H. Lampert)
2. COMMON Could Use Your Help! (Scott Klement)
3. Re: Quick easy way to determine what LPAR you're on? (John Yeung)
4. RE: Quick easy way to determine what LPAR you're on?
(Steinmetz, Paul via MIDRANGE-L)
5. Re: Quick easy way to determine what LPAR you're on? (Bryan Dietz)
6. Re: Quick easy way to determine what LPAR you're on?
(Mark Waterbury)
7. Re: Quick easy way to determine what LPAR you're on?
(Larry "DrFranken" Bolhuis)
----------------------------------------------------------------------
message: 1
date: Wed, 3 Feb 2021 11:25:04 -0800
from: "James H. H. Lampert" <jamesl@xxxxxxxxxxxxxxxxx>
subject: Quick easy way to determine what LPAR you're on?
Is there a quick and easy way, from a command line, to identify which LPAR you're on?
--
JHHL
------------------------------
message: 2
date: Wed, 3 Feb 2021 13:32:13 -0600
from: Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
subject: COMMON Could Use Your Help!
I thought this would be really great for the people here, since these e-mail groups are all about quick concepts and tips!
We're running out of time to get suggestions for sessions at our NAViGATE conference. This is a new concept -- 20 minute sessions, so there will be more quick learning of concepts or tips rather than in-depth learning at this one. I think this will be fun! I know that when I was working for a magazine, programming tips were always our most popular topic -- and here we have a chance to have a whole conference about them!
We need your help:
1. Please submit ideas for topics that would make a good 20 minute session 2. If you'd like to give a session, this is a great chance to get
started with an short 20 minute one.
3. If you're already a regular speaker, of course, we'd love to hear
your session.
BUT WE NEED THE SUBMISSIONS BY MONDAY, FEB 8 !! ACK!
Conference will be available for virtual access, so no travel is needed.
Find out more here:
https://www.common.org/columbus2021/sessions/cfp
<
https://www.common.org/columbus2021/sessions/cfp>
------------------------------
message: 3
date: Wed, 3 Feb 2021 14:34:49 -0500
from: John Yeung <gallium.arsenide@xxxxxxxxx>
subject: Re: Quick easy way to determine what LPAR you're on?
On Wed, Feb 3, 2021 at 2:25 PM James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Is there a quick and easy way, from a command line, to identify which
LPAR you're on?
It might depend on what particular identifying information you're looking for.
If your LPARs have different system names, you can use DSPNETA to get the current system name.
John Y.
------------------------------
message: 4
date: Wed, 3 Feb 2021 19:38:08 +0000
from: "Steinmetz, Paul via MIDRANGE-L" <midrange-l@xxxxxxxxxxxxxxxxxx>
subject: RE: Quick easy way to determine what LPAR you're on?
Most IBM screens have the system (LPAR) name in the top right corner.
System: PENCOR05
Paul
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of James H. H. Lampert
Sent: Wednesday, February 03, 2021 2:25 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Quick easy way to determine what LPAR you're on?
Is there a quick and easy way, from a command line, to identify which LPAR you're on?
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
------------------------------
message: 5
date: Wed, 3 Feb 2021 13:40:30 -0600
from: Bryan Dietz <bdietz400@xxxxxxxxx>
subject: Re: Quick easy way to determine what LPAR you're on?
Maybe a call to QLZARCAPI
Bryan
On Feb 3, 2021, at 1:25 PM, James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Is there a quick and easy way, from a command line, to identify which LPAR you're on?
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
------------------------------
message: 6
date: Wed, 3 Feb 2021 19:43:45 +0000 (UTC)
from: Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>
subject: Re: Quick easy way to determine what LPAR you're on?
James,
If you just want to know the LPAR #, you can use this little CL program:
????? PGM????????????????????????????????????????????????????????? ?
????? DCL??????? VAR(&RECEIVER) TYPE(*CHAR) LEN(256)?????????????? ?
????? DCL??????? VAR(&FORMAT) TYPE(*CHAR) LEN(4) VALUE(X'00000001') ????? DCL??????? VAR(&SIZE) TYPE(*CHAR) LEN(4) VALUE(X'00000100')? ?
????? DCL??????? VAR(&LPARNBR) TYPE(*CHAR) LEN(10)???????????????? ?
????? CALLPRC??? PRC('dlpar_get_info') PARM((&RECEIVER) +????????? ?
?????????????????? (&FORMAT *BYVAL) (&SIZE *BYVAL))??????????????? ?
????? CHGVAR???? VAR(&LPARNBR) VALUE(%BIN(&RECEIVER 41 4))???????? ?
????? SNDPGMMSG? MSG(&LPARNBR) TOPGMQ(*EXT)??????????????????????? ?
????? ENDPGM?????????????????????????????????????????????????????? ?
Hope that helps,
Mark S. Waterbury
On Wednesday, February 3, 2021, 2:25:17 PM EST, James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:
Is there a quick and easy way, from a command line, to identify which LPAR you're on?
--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
------------------------------
message: 7
date: Wed, 3 Feb 2021 14:49:09 -0500
from: "Larry \"DrFranken\" Bolhuis" <midrange@xxxxxxxxxxxx>
subject: Re: Quick easy way to determine what LPAR you're on?
You looking for the LPAR Number from the CLI?
wrkhdwrsc *cmn
Option 7 against the first comm processor in the list. It will look similar to this:
Location : U9009.41G.104BEER-V2-C0
The number 2 after "V" is the partition number. This works on all systems from POWER5 and up.
- L
On 2/3/2021 2:25 PM, James H. H. Lampert wrote:
Is there a quick and easy way, from a command line, to identify which
LPAR you're on?
--
JHHL
--
IBM Champion for Power Systems
www.iInTheCloud.com - Commercial IBM i and Power System Hosting www.iDevCloud.com - Personal IBM i Hosting www.Frankeni.com - IBM i and Power Systems Consulting.
------------------------------
Subject: Digest Footer
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://amazon.midrange.com
------------------------------
End of MIDRANGE-L Digest, Vol 20, Issue 150
*******************************************
________________________________
Please note: Florida has very broad public records laws. Many written communications to or from The Florida Bar regarding Bar business may be considered public records, which must be made available to anyone upon request. Your e-mail communications may therefore be subject to public disclosure.
As an Amazon Associate we earn from qualifying purchases.