Asynchronous Database Processing With the API

The API functions according to the capabilities of the server to which the request is directed. Thus, if the server in question is inherently synchronous, the API applies the rules for synchronous processing. If the server is asynchronous, rules for asynchronous processing apply, providing for messaging and queuing.

The API enables the resulting connection SCB to reflect the capabilities of the requested server. Synchronous server connections thus give rise to synchronous SCBs, while asynchronous server connections lead to asynchronous SCBs. Asynchronous processing in Messaging and Queuing closely resembles synchronous processing in the API. With few exceptions, such as with EDABROWSE, asynchronous and synchronous processing use the same method calls. For information on method calls, see Method Reference.


iWay Software