Fetch Parcel Flavor - Call-Level Interface Version 2

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Call-Level Interface Version 2
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-06-12
dita:mapPath
zws1641280432166.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2418
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.