skip to main content
OpenEdge Data Management: DataServer for ODBC
Troubleshooting : Tuning your environment with the -Dsrv startup parameter : Using ODBC and DataServer options : Locking error messages: The PRGRS_LOCK_ERROR option
 
Locking error messages: The PRGRS_LOCK_ERROR option
Some data sources do not distinguish between lock problems and errors. The PRGRS_LOCK_ERROR option lets you control how your application reacts if it encounters an error that is actually a lock problem when accessing a data source. Use this option to pass the native error number to the DataServer so that it handles this error as it would a Progress lock problem; that is, the DataServer waits and retries, rather than halting the application:
CONNECT data source name -ld logical-name -dt ODBC
-Dsrv PRGRS_LOCK_ERROR,error-number1,error-number2.