The ADARAI CHKDB function checks that the recovery status of the nucleus is the status specified by the CHKDB function (active or inactive). To do this CHKDB issues a command to the nucleus and tests 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.