What is a CPC name? Do you mean eg 51-13667  which would be the serial 
number? (Probably with lots of zeroes in it.)

The reason I ask is because I'd quite like customers to be able to name 
their machine e.g "Flossie". :-)

When I speak to customers using their RMF data I use the serial number to 
denote the machine but THEY often go "oh, that's 'Flossie'" but there's 
nowhere I know of to tell the machine what it's called. :-)

Martin (not anthropomorphising computers as I gather they don't like it) 
:-)

Martin Packer,
Mainframe Performance Consultant, zChampion
Worldwide Banking Center of Excellence, IBM

+44-7802-245-584

email: [email protected]

Twitter / Facebook IDs: MartinPacker



From:
Stan Weyman <[email protected]>
To:
[email protected]
Date:
17/03/2011 13:55
Subject:
How to get the CPC name on which the current system is running
Sent by:
IBM Mainframe Discussion List <[email protected]>



   I'm looking for areas in z/OS where I can get the CPC name that the 
current system is running on.  The IPA is a possibility but looks to be 
populated via LOADxx and we've had issues with the HWNAME filtering 
causing problems with the CPC name.  I've looked at IBM's CSRSI service 
and they have a neat setup where you can request information at the CPC, 
LPAR, or VM level *OR* any combination of the three.  However, in IBM's 
infinite wisdom it appears they left the CPC name off the list of 
information returned via a CPC call <sigh>.  They have a CPCNAME defined 
in the macro expansion but it is an ORG of the LPARNAME and is in the LPAR 
area, not the CPC area so it's not a matter of doing a single vs multiple 
call type.  Very strange they would leave out the CPC name.  I've used the 
REXX CONSOLE interface in the past to do a D M=CPU and then GETMSG to 
retrieve it but I'd prefer not to use this method.

   Does anyone know where the CPC name is obtained when D M=CPU is issued 
or, barring that, another place I can get the CPC name?

      Regards,
        Stan

Stan Weyman
Senior Software Engineer
[email protected]<mailto:[email protected]>
EMC² *(508)249-3966
where information lives
It is wise to keep in mind that neither
success nor failure is ever final...


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







Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU






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