zhmcSetTimeout function
zhmcSetTimeout (timevalue)
Sets the timeout for calls to the HMC in milliseconds. This timeout is used to limit the time that it takes to establish the network connection to the HMC and the time that SecureHMC spends waiting for network traffic to complete. If this time is exceeds, the call fails.
The default timeout is 10 minutes. Most HMC calls complete within a minute, but some calls will take longer depending on the HMC load and the amount of data being requested.
This only needs to be called once, preferably in the startup script for the HMC session. However, if the automation server is restarted, the value gets reset to the default value.
Parameters:
timeout | The new timeout in milliseconds |
Returns:
True if the timeout was successfully set, or false if it was not set.