Connect - Teradata Director Program

Teradata Director Program Reference

Product
Teradata Director Program
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-09
dita:mapPath
hwt1488824663348.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2416
lifecycle
previous
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:

Connect Parcel Field Information
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.