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