anandknr
Member
I would like to know if there is any way to catch the error: Lock table overflow, increase -L on server (915)
Below is an example I am using to create such an error condition. I know this will be a bad example, but all i need was to produce 915 error.
I tried with catch block but it is not actually catching this error message. So how will we handle this kind of an error?
Below is an example I am using to create such an error condition. I know this will be a bad example, but all i need was to produce 915 error.
Code:
def buffer bacctg for acctg.
do transaction: /* main tran */
for each acctg no-lock:
do transaction: /* sub tran */
find bacctg where recid(bacctg) = recid(acctg) exclusive-lock.
bacctg.currency = "$".
end.
end.
end.
I tried with catch block but it is not actually catching this error message. So how will we handle this kind of an error?