Connect - Teradata Director Program

Teradata® Director Program Reference - 17.20

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Director Program
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-17
dita:mapPath
cki1641301536147.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
frc1470439950465
Product Category
Teradata Tools and Utilities

Purpose

The Connect parcel establishes a connection between an application and a specific database partition that is used for running Teradata SQL.

Usage Notes

The Connect parcel is sent from the client at the same time that a Logon parcel is sent.

This parcel is generated by CLIv2 on behalf of the application.

The response to a Connect parcel is first a Success parcel and then a RunResponse parcel.

Parcel Data

Field information for the Connect parcel is as follows:

Flavor Field Body Parcel Length Parcel Body Fields
88 24 PartitionName: 16 bytes

LogonSequence Number: 4 bytes

Function: 2 bytes

Pad: 2 bytes

Fields

  • PartitionName is the name of the database partition to which start requests are to be sent.
  • LogonSequenceNumber contains a logon sequence number when Function contains the value 2. At all other times it must contain zero.
  • Function contains one of the following:
    Function Number Description
    0 Requests that a normal Run be performed.
    1 Requests session control allocate a logon sequence number and associate the newly allocated logon sequence number with the requesting session.
    2 Requests session control to associate the logon sequence number in logon sequence number with requesting session.
  • Pad is unused.