Using SRSTAT LIFESPAN to change the availability of a resource

To change the global availability of a special resource, you can use the SRSTAT command with the LIFESPAN parameter. The LIFESPAN parameter sets:
  • The interval of time, expressed in minutes, after which the global availability will be changed.
  • The value to which the global availability will be changed.

When you issue an SRSTAT LIFESPAN command, the controller stores the information that there is a pending LIFESPAN action for the special resource that will be performed after the specified interval of time expires. You can check whether a pending LIFESPAN action exists by looking at the MODIFYING A SPECIAL RESOURCE and BROWSING A SPECIAL RESOURCE panels.

Only one LIFESPAN action can exist for a resource. If you issue an SRSTAT LIFESPAN command for a resource that already has a pending LIFESPAN action, the old LIFESPAN action is replaced with the current one. To delete a pending LIFESPAN action, you can issue an SRSTAT with LIFESPAN interval of time set to 0.