The <whenever action> is executed each time ADABAS issues the message 'not found'. 'Not found' corresponds to the sqlcode=100.