- Set Change-options to 'Y'.
Change the value for Locate-mode as follows.
If the data returned is to be... Then change the value for Locate-mode to... made available in the response buffer Y made available in the move area N
Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.
Within this manual, the following conventions apply:
Locate-mode of Y is known as Locate-mode.
Locate-mode of N with Parcel-mode-fetch of Y is known as Move Mode.
Locate-mode operates in conjunction with Parcel-mode-fetch. The setting of Locate-mode affects the use of Fetch-maximum-data-length, Fetch-data-pointer, Fetch-returned-data-length, and Fetch-parcel-flavor.
When using Locate-mode, applications should not change the data whose pointer is returned. This data resides in the response buffer allocated and controlled by CLIv2 and altering it may impact CLIv2 in unpredictable ways. Locate-mode is provided as a performance option for applications that need only inspect the data. Performance is improved by not copying the data to the application's storage. But if the data must be modified, Locate-mode should not be used.