INF: Waiting for Access to Modified Data

ID Number: Q45547

1.10 1.11 4.20

OS/2

Summary:

You can use dbsettime() to specify a timeout for any SQL command. This

can be used to place an upper limit on the length of time an

application is willing to wait for data held by another user. Another

alternative is to use dbsqlsend() (which does not block) instead of

dbsqlexec() (which does). Then dbrbuf() can be used periodically to

determine if any results have been returned. Currently, there is no

way for an application to determine that results have not been

returned because another user has the desired data locked.

Additional reference words: DB-LIBRARY db-lib dblib