The ADARAI CHKDB function checks for the specified recovery nucleus status (active-the default, or inactive) by issuing a command to the nucleus and testing the nucleus response code.
If the command does not provide the expected response code, CHKDB reissues another command after ten seconds. Up to ten commands are issued. If the desired nucleus status (active/inactive) does not occur after ten tries, ADARAI terminates with error 158.
ADARAI CHKDB
Tests the recovery nucleus for active status.