The following RDTIN fields are important for the following WAIT statement examples:
- Example: Passing Fixed Length Character Values to the Host Variables
- Example: Passing Varying Length Character Values to Host Variables in ANY COMPLETION INTO Clause
- Example: Using the ALL COMPLETION Option to Wait until All Active Asynchronous Statements Have Completed
- Example: Using Multiple Explicit Asynchronous Statements
RDTIN Field | Required Value |
---|---|
RdtCType | 470 |
RdtAux1 | One of the following:
|
RdtVersn | 10 |
RdtExt | 'Y', indicating the existence of an extension area, only if an asynchronous statement is specified. |
RdtXTotL | Must include the size of the RDTXASYN extension area, only if an asynchronous statement is specified. |
The RdtX008 (RDTXASYN) structure communicates the connection name if an asynchronous statement is specified, and therefore must be included as one of the extension areas.
The following examples present WAIT statement SQL text without any client programming code context.