Usage Notes
The Request Buffer Length field specifies the desired length of the buffer in which requests are placed for sending to the database.
Language | Variable Name |
---|---|
COBOL: | DBCAREA-REQ-BUF-LEN |
C: DBCAREA.H: | req_buf_len |
Routine | Action Taken |
---|---|
DBCHINI: | writes |
DBCHCL: | reads (CON; RSUP; IRQ; REW; ABT) |
Used by | Action Taken |
---|---|
application program | writes |
A value of zero indicates that DBCHCL is to use the default value from the SPB for the Request Buffer Length. The application program may change the value in Request Buffer Length. The minimum value is 256 and the maximum value is:
- 32768, if Maximum Parcel is set to O
- 65536, if Maximum Parcel is set to H
- 1048500, if Maximum Parcel is set to H and the database supports ExtendedRespond, as indicated by the DBCHQE QEPIXRS item.
The size of the request buffer is increased by CLI if a larger buffer is required.
If applications are using Parcel mode, the applications have to spare a buffer size of 24 bytes for CLI to place the parcels built by CLI in the request buffer.