The documentation says you're right - offset 16 from the start of the SMCA.
Well, that's the SMF SYSID, but that's probably what you want.  LPAR name is
the 8 bytes at offset 344 in the ECVT.

ECVT
<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2D261/26.1.1?
SHELF=IEA2BK61&DT=20060118120821>

SMCA
<http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2D460/76.1.1?
SHELF=IEA2BK61&DT=20050714173443&CASE=>

PSA -> CVT -> ECVT
PSA -> CVT -> SMCA

At least, that's what I use.  The SMCA is pointed to from offset 196 in the
CVT.  There is a note indicating that this field is 0 if the SMF option
isn't present.

Good luck.  Now, off to SHARE for a week.


-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED] Behalf
Of Roger Lacroix
Sent: Friday, February 09, 2007 3:19 PM
To: [email protected]
Subject: z/OS help - question


All,

My brain is a little rusty / foggy.  I'm trying to get the name of a LPAR or
SubSysName or system name (or whatever you call it) on z/OS.  i.e.  SYSA,
MVST, etc...

I thought it was the 4 bytes starting at byte 16 of the SMCA structure.
i.e. SMCASID.  But I am getting a number in character format '2084'.  

Anybody want to point me to the proper location of it?

 
Thanks,
Roger Lacroix
Capitalware Inc.
http://www.capitalware.biz

To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to