Parcel Sequences - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
lifecycle
previous
Product Category
Teradata Tools and Utilities

CLIv2 constructs the correct parcel sequences to the database software based on the information supplied in the DBCAREA. The application should only be concerned with the response parcels returned from the database through CLIv2.

The following table explains parcel return sequences for various combinations of the DBCAREA Connect-Type and Return-code fields.

Connect -type Return-code field is... And... Then...
R 33 code is 33 at the time the Fetch function is issued for the connect request the response parcels do not have to be scanned.
R 0   the parcel returned is one of the following:
  • Failure parcel (flavor 9)
  • Error parcel (flavor 49)
C non-zero   the response parcels do not have to be scanned.
C 0 there is a problem establishing the connection the parcel returned is one of the following:
  • Failure parcel (flavor 9)
  • Error parcel (flavor 49)
C 0 the connection is successfully established the parcels returned are both of the following:
  • Success parcel (flavor 8) or ResultSummary (flavor 171)
  • EndRequest parcel (flavor 12)