Connect
Purpose
Establishes a connection between an application and a specific COP server 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
The following table lists field information for the Connect parcel.
Flavor Field |
Body Parcel Length |
Parcel Body Fields |
||
88 |
24 |
|
PartitionName: LogonSequence Number: Function: Pad: |
16 bytes 4 bytes 2 bytes 2 bytes |
Fields
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. |