|
|
Archives of the TeradataForum
Message Posted: Tue, 08 Jul 2003 @ 19:14:28 GMT
Subj: | | Re: Problem in getting connected |
|
From: | | Henne, Larry |
Harish,
The "inctrn01t" in your logon should be a maximum of 8 characters. To use "inctrn01" in the logon you need to add "inctrn01cop1 to the
hosts file. The following general information might be useful.
Bteq uses Teradata CLI to connect to the Teradata database, rather than an ODBC DSN. The ".logon dbc,dbc" for Bteq is the same as
".logon dbc/dbc,dbc". The "dbc/" specifies the Teradata system to use and requires a "dbccop1" entry in the hosts file. When the demo apps
for the V2R5.0 Demo CD are installed, a "demoTDATcop1" entry is added to the "hosts" file for the local IP Address. Thus,
\winnt\system32\drivers\etc\hosts will contain a line similar to: "127.0.0.1 localhost demoTDATcop1". Therefore, to connect to the local
Teradata database with Bteq use ".logon demoTDAT/dbc,dbc". Note that "cop1" is in the hosts file and is not in the logon statement.
Larry Henne
| |