Maximum Parcel
Usage Notes
Maximum Parcel specifies whether the maximum parcel length is 32 KB, 64 KB, or 1 MB. The exact size depends upon numerous factors related to the nature and structure of a specific request.
Language |
Variable Name |
COBOL: |
MAXIMUM-PARCEL |
C: DBCAREA.H: |
maximum_parcel |
Routine |
Action Taken |
DBCHINI: |
writes |
DBCHCL: |
reads (CON; RESUP; IRQ) |
Used by |
Action Taken |
application program |
writes |
Maximum Parcel is initialized to the default value provided for Maximum Parcel in the site’s CLISPB. If the value is not appropriate for the application, the application, before calling DBCHCL for Connect, Run Startup and Initiate Request, may set Change Options to Y and Maximum Parcel to one of the following values:
When the actual row size to be returned is:
Determining Maximum Parcel Request Size
Maximum parcel size is determined by which of the two parcel header formats is used. The maximum lengths are as shown below:
- buffer size limit: ~32KB
- buffer size limit: ~64KB (APH-requests is 0)
- buffer size limit: ~1MB (APH-requests is non-zero)