The <whenever action> is executed whenever the ADABAS system reports an error. An error message exists when SQLCODE has a negative value.