16.20 - Fetch-parcel-flavor - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

Fetch-parcel-flavor is a four-byte field that is the flavor of the parcel containing the returned data.

In this language... The variable name for Fetch-parcel-flavor is...
COBOL DBCAREA-FET-PARCEL-FLAVOR
PL/I FET_PARCEL_FLAVOR
C, C++ fet_parcel_flavor
IBM Assembler DBFOPFLV
This routine... Does this for Fetch-parcel-flavor...
DBCHINI writes
DBCHCL writes (FET)
Fetch-parcel-flavor is used by... To...
applications read
After a fetch function completes and the application regains control with a return code of zero, the application can obtain the flavor or type of parcel returned. This is true only if Parcel-mode-fetch was set to Y in the DBCAREA when DBCHCL was called for any of the following functions:
  • Connect
  • RunStartUp
  • Initiate with Protocol-function
  • Command
  • Initiate Request