Wait-exclusion specifies whether DBCHWAT will include or exclude requests for the session from its processing. DBCHWL processing is unaffected by the option.
Wait-exclusion exists only when DBCHINI had been called for a DBCAREA with Total-length set to at least 640 (that is, the returned DBCAREA Level value is at least 1). For a smaller DBCAREA, Wait-exclusion is ignored.
No other CLIv2 resources support Wait-exclusion. Therefore:
- User events and master events will affect all types of wait processing
- A DBCHCLN call by either the application or exit will free all CLIv2 resources
| In this language... | The variable name for Wait-exclusion is... |
|---|---|
| COBOL | WAIT-EXCLUSION |
| PL/I | WAIT_EXCLUSION |
| C, C++ | waitExclusion |
| IBM Assembler | DBCNIWE |
| This routine... | Does this for Wait-exclusion... |
|---|---|
| DBCHINI | writes |
| DBCHCL | reads (CON and RCMD) |
| Wait-exclusion is used by... | To... |
|---|---|
| applications | write |
One of the following values may be set before initiating a request:
| If the application... | Then set Wait-exclusion to... |
|---|---|
| indicates that requests for the session will be processed by DBCHWAT | N |
| indicates that requests for the session will not be processed by DBCHWAT | Y |
Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.