$db2 “restore db sample from /db2home2/db2inst2/dbbackup taken at 20100409114802 replace existing without prompting”
SQL2540W Restore is successful, however a warning “2539″ was encountered
during Database Restore while processing in No Interrupt mode.

这时如果连接数据库，会报如下错误：

$db2 connect to sample
SQL1117N A connection to or activation of database “SAMPLE” cannot be made
because of ROLL-FORWARD PENDING. SQLSTATE=57019