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



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

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.