D
dcruncher4
I have a condition in which I have to ignore an error while SELECTING.
The error is lock timeout (Db2 error code -911). When fetchrow_arrayref
fetches the locked row, I do get -911 which I trap in my code. When I
move on to the next row doing another fetchrow_arrayref, I get error -3
(no statement executing). Does that mean that fetchrow_arrayref
will stop processing at the first error and there is no way to continue
to the next stop, ignoring it.
DB2 gurus: Is there a way to tell DB2 while SELECTING to ignore rows
which are locked by another session.
thanks.
The error is lock timeout (Db2 error code -911). When fetchrow_arrayref
fetches the locked row, I do get -911 which I trap in my code. When I
move on to the next row doing another fetchrow_arrayref, I get error -3
(no statement executing). Does that mean that fetchrow_arrayref
will stop processing at the first error and there is no way to continue
to the next stop, ignoring it.
DB2 gurus: Is there a way to tell DB2 while SELECTING to ignore rows
which are locked by another session.
thanks.