OPS/MVS

 View Only
  • 1.  OPSMVS CPCNAME ?

    Posted Jul 26, 2016 12:16 PM

    I need to get the CPC Name of our CPU's... Any help appreciated.



  • 2.  Re: OPSMVS CPCNAME ?

    Posted Jul 26, 2016 12:58 PM

    Hello Randy,

    I think an ADDRESS HWS Command, GETATTR could get you that information. In our documentation you can find ADDRESS HWS Commands here: ADDRESS HWS Commands - CA OPS/MVS® Event Management and Automation - 12.3 - CA Technologies Documentation.

     

    Examples: HWS GETATTR

    This example gets the value of the attribute CPCVERSION and returns it in the REXX variable HWS.CPCVERSION. The command forces BCPii to go out and get the most updated value, times out after five seconds, and creates debugging messages.

    ADDRESS HWS "GETATTR ATTR('CPCVERSION') ENTITY(CPC('SAMPLE.IBM.CPCNAME')) DEBUG(YES) REFRESH(YES) TIMEOUT(5)" 

     

    Unless you have it already installed, you will need to install and configure Hardware Service.

    Install and Configure Hardware Services (HWS)

    Install and Configure Hardware Services (HWS) - CA OPS/MVS® Event Management and Automation - 12.3 - CA Technologies Doc…

    Let me know if this helps.



  • 3.  Re: OPSMVS CPCNAME ?

    Posted Jul 26, 2016 01:03 PM

    Thanks Kraig   I will check into it... I was hoping for an OPSTATUS like CPCMODEL...



  • 4.  Re: OPSMVS CPCNAME ?

    Community Manager
    Posted Jul 27, 2016 09:31 AM

    Randy,

    Did Kraig's solution help you? Let us know!



  • 5.  Re: OPSMVS CPCNAME ?
    Best Answer

    Posted Jul 27, 2016 12:43 PM

    I found something that will get me the info opsinfo(hardwarename)  Thanks!



  • 6.  Re: OPSMVS CPCNAME ?

    Posted Jul 27, 2016 05:59 PM

    Hello Randy,

    I see it was this. Sorry I did not find it for you. But, happy you found a solution.

    OPSMVS - HOW TO OBTAIN THE CPCNAME VIA THE OPSINFO FUNCTION?

    Document ID:  TEC494888