IBM Support

IBM Tivoli Netcool/Impact: Hibernate function example corrected, RemoveHibernation function added

Troubleshooting


Problem

The example in the information center for the Hibernate function does not mention the RemoveHibernation function. There is also a typo in the example, where 'Timeout' should read 'TimeOut'.

Resolving The Problem

The Hibernate function example requires the following updates:

The example for the Hibernate function previously was:



The following example shows how to cause a policy to hibernate for one minute.
// Call Hibernate and pass an action key and the number of seconds
// to hibernate as input parameters
ActionKey = "ActionKey" + GetDate();
TimeOut = 60;
Hibernate(ActionKey, NULL, Timeout);

The updated version includes the RemoveHibernation function in the example and corrects the typo:

The following example shows how to cause a policy to hibernate for one minute.
// Call Hibernate and pass an action key and the number of seconds
// to hibernate as input parameters
ActionKey = "ActionKey" + GetDate();
Timeout = 60;
Hibernate(ActionKey, null, Timeout);
RemoveHibernation(ActionKey);

[{"Product":{"code":"SSSHYH","label":"Tivoli Netcool\/Impact"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"}],"Version":"6.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21612459