Parcel Mode Fetch - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
15.00
Language
English (United States)
Last Update
2018-09-25
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Parcel Mode Fetch

Usage Notes

The Parcel Mode Fetch field specifies whether fetches are to provide the next parcel or the next buffer-full of returned data.

 

Language

Variable Name

COBOL:

DBCAREA-PARCEL-MODE

C: DBCAREA.H:

parcel_mode

 

Routine

Action Taken

DBCHINI:

writes

DBCHCL:

reads (CON; RSUP: IRQ)

 

Used by

Action Taken

application program

writes

Parcel Mode Fetch is initialized by DBCHINI to the default value provided for Parcel Mode in the site’s SPB.

If the value provided is not appropriate for the application, before calling DBCHCL for the Connect, Run Startup, or Initiate Request function, the application program may set:

  • Change Options to Y, and
  • Parcel Mode Fetch to:
  • Y, if each fetch is to provide the next parcel (Parcel Mode Fetch set to Y is known as Parcel Mode).
  • N, if each fetch is provide the next buffer-full of parcels (Parcel Mode Fetch set to N is known as Buffer Mode).
  • If Buffer Mode is in effect, each fetch results in a new buffer-full of parcels. It is assumed that the application program has “consumed” the previous buffer-full of parcels.