If the value provided is not appropriate for the application, perform the following steps before calling DBCHCL for the Initiate Request function:
- Change Options to Y.
-
Change the Request Mode value to:
-
P, if the application program is passing to CLI the Request parcel body and, optionally, the Using Data parcel body and, optionally, parcel elements in the DBCAREA extension, DBCAREAX.
-
B, if the application program is passing to CLI a pre-built buffer containing parcels.
-
An application that uses Buffer Mode is responsible for setting the Keep Response option and Response Buffer Size options consistent with the Response parcel provided in the pre-built request buffer.
Request Mode is read by the call to DBCHCL for the Connect and Run Startup options and stored in the appropriate control blocks, but it is not used during either function.