Fetch Parcel Flavor - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
20.00
Published
January 2024
Language
English (United States)
Last Update
2024-05-14
dita:mapPath
bmn1691484839905.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
fvz1470444150352
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.