|
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
As an Amazon Associate we earn from qualifying purchases.
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.