15.10 - Fetch Parcel Flavor - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

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

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