Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

zhmcGetCpcs


zhmcGetCpcs (hmcname)

Returns an array of CPCs managed by the HMC. Each element of the array contains the properties as summarized in the following table:

name

The CPC name.

description

The CPC description.

status

The current status.

acceptable_status

An array of strings with acceptable status values.

Parameter:

hmcname

The HMC session name.

Returns:

An array of CPC objects.

Example:

hmc = "HMC"

cpcs = zhmcGetCpcs(hmc)

do i = 0 to cpcs.size() - 1

   trace("CPC: " & cpcs[i].name, GREEN)

   trace(" name : " & cpcs[i].name, GREEN)

   trace(" status: " & cpcs[i].status, GREEN)

end


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1