Connect Type
Connect Type is a one-byte field that specifies whether CLIv2 should send a separate logon and run to the Teradata Database or a combined logon and connect. For new applications, Connect‑type should always be set to 'C' since all recent Teradata Databases support its use.
In this language... |
The variable name for Connect Type is... |
COBOL |
DBCAREA‑CONNECT‑TYPE |
PL/I |
CONNECT_TYPE |
C |
connect_type |
IBM Assembler |
DBOCTYPE |
This routine... |
Does this for Connect Type... |
DBCHINI |
writes |
DBCHCL |
reads (CON; RSUP; IRQ) |
Connect Type is used by... |
To... |
applications |
write. |
Connect Type is initialized to the default value provided for Connect Type in the site‘s HSHSPB. If the value provided is not appropriate for an application, before calling DBCHCL for the connect option, the application can change the value as follows:
1 Set Change Options to ‘Y‘.
2 Change the value for Connect Type as follows.
Note: For new applications, Request‑parcel‑format should always be set to ‘H‘.
If... |
Then set Connect Type to... |
a separate logon and run should be sent to the Teradata Database |
R |
a combined logon and connect should be sent to the Teradata Database |
C |