User login
|
|
|
Frontpage Sponsor
|
|
|
Poll
|
How long have you been using Baan-related products? 1 year or less 12% between 1 and 3 years 14% between 3 and 6 years 14% between 6 and 10 years 23% 10 years or more 37% Total votes: 139 |
|
|
|
By patvdv at 26 Feb 2008 - 21:57
|
db.retry.hit()
Syntax
long
db.retry.hit()
Description
Use this to check whether the client database layer has returned to a retry point. You must set the retry point by using db.retry.point() before you call db.retry.hit(). See also Database Handling.
Return values
|
Retry point defined but not returned to.
|
|
System returned to retry point.
|
| No Retry point defined |
| Stack Error (Programming error in script. A db.retry.point() was done at a deeper stack level) |
Example
The following code construct can be used for checking purposes:
if db.retry.hit() > 0 then
| retry point hit
endif
The following frequently used code construct is wrong:
if db.retry.hit() then | db.retry.hit() can also -1 or -2 as error condition!
| retry point hit
endif
Context
Bshell function.
Related topics
|
|
All times are GMT +2. The time now is 22:53.