If you are using the procedure $RMSTSET (GENERAL PURPOSE PROCEDURE TO SET A STATUS) to set resource states, you will need to treat DEGRADED differently.
If you are using the procedure $RMSTSET (GENERAL PURPOSE PROCEDURE TO SET A STATUS) to set resource states, you will need to treat DEGRADED differently.
In order to clear a DEGRADED status by using $RMSTSET, you will have to use a STATUS of RECOVERED.
The syntax is $RMSTSET CLASS=<resource-class> NAME=<resource-name STATUS=RECOVERED
The command would look like - $RMSTSET CLASS=USRCLS NAME=STEVET STATUS=RECOVERED
For example - In the below example the Resource STEVET is currently in a Actual State of DEGRADED.
---------------- Resource Monitor : Filter(USRCLS) --------------
Command ===> Scroll ===> CSR
S=Status L=Transient Log D=Display DB=Database ?=List Cmds
System Class Resource Desired Actual Mode Logical Ovr
CA11 LOGICAL STEVET ACTIVE DEGRADED MANUAL ATTENTION G
**END**
If the following command is issued -
$RMSTSET CLASS=USRCLS NAME=STEVET STATUS=recovered
Now the Resource Status is set to ACTIVE.
- --------------- Resource Monitor : Filter(USRCLS) --------------
Command ===> Scroll ===> CSR
S=Status L=Transient Log D=Display DB=Database ?=List Cmds
System Class Resource Desired Actual Mode Logical Ovr
CA11 LOGICAL STEVET ACTIVE ACTIVE MANUAL OK G
**END**