Move Area - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

Product
Call-Level Interface Version 2
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-07
dita:mapPath
jen1488824663137.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2417
lifecycle
previous
Product Category
Teradata Tools and Utilities

The application can allocate a move area. It is similar to the response buffer but only needs to contain room for one parcel at a time. If the application has allocated a move area, then, when the application sends in a request, it may specify in the DBCAREA that the move area is to be used. In that case, each time DBCHCL is called for the Fetch function, DBCHCL moves the next parcel, which is the one the application is about to use, into the move area instead of making the parcel available in the response buffer.

In some application languages, such as COBOL, which do not support pointers, having the next parcel separate is critical and easily worth the small use of space for the move area and the small loss of time for DBCHCL to do the copy.

In other application languages, such as C, PL/I, and IBM Assembler, reading the parcel directly from the response buffer is no problem, but using a move area may have an advantage such as providing word alignment for the start of the move area. Mode Move is primarily for use in languages that do not support pointer operations.