Fetch Parcel Flavor - Call-Level Interface Version 2

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

Product
Call-Level Interface Version 2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-04-19
dita:mapPath
xen1544831946512.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

Usage Notes

The Fetch Parcel Flavor field is the flavor of the parcel containing the returned data.

Language Variable Name
COBOL: DBCAREA-FET-PARCEL-FLAVOR
C: DBCAREA.H: fet_parcel_flavor
Routine Action Taken
DBCHINI: writes
DBCHCL: writes (FET)
Used by Action Taken
application program reads

After a call to DBCHCL for the Fetch function, the application program can obtain the flavor or type of parcel returned if Parcel Mode Fetch was set to Y when DBCHCL was called for the Connect, Run Startup, or Initiate Request function.

DBCHCL puts Fetch Parcel Flavor in the DBCAREA when the Fetch function completes. Thus Fetch Parcel Flavor is available when the application program regains control with return code of zero from a call to DBCHCL for the Fetch function.