If you're looking for the actual LPAR name
cat /proc/sysinfo
Manufacturer:         IBM
Type:                 2096
Model:                J01              R07
Sequence Code:        00000000000xxxxxx
Plant:                02
Model Capacity:       J01              00000000

CPUs Total:           7
CPUs Configured:      1
CPUs Standby:         0
CPUs Reserved:        6
Capability:           4920 6480
Adjustment 02-way:    245 249
Adjustment 03-way:    238 241
Adjustment 04-way:    232 235
Adjustment 05-way:    226 229
Adjustment 06-way:    226 229
Adjustment 07-way:    226 229
Secondary Capability: 1760

LPAR Number:          1
LPAR Characteristics: Shared
*LPAR Name:            IT*
LPAR Adjustment:      1000
LPAR CPUs Total:      1
LPAR CPUs Configured: 1
LPAR CPUs Standby:    0
LPAR CPUs Reserved:   0
LPAR CPUs Dedicated:  0
LPAR CPUs Shared:     1

VM00 Name:            SLES001
VM00 Control Program: z/VM    5.4.0
VM00 Adjustment:      1000
VM00 CPUs Total:      1
VM00 CPUs Configured: 1
VM00 CPUs Standby:    0
VM00 CPUs Reserved:   0


On Tue, Jul 7, 2009 at 2:21 PM, Lucymarie Ruth
<[email protected]>wrote:

> Don't know whether you are trying to get SYSNAME via REXX or via
>   shell command.  If you are using shell commands,  try
>
>
>
>   uname -n
>
>
>   That returns the SYSNAME specified at IPL time.
>
>
>
>
>   If you want to create a variable set the that value, try this:
>
>
>     sysname="`uname -n`"
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>



-- 
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to