Quantcast
Channel: Teradata Downloads - Connectivity
Viewing all 445 articles
Browse latest View live

BusinessExceptionMappingStrategy issue

$
0
0

Does anybody know what can cause this exception?  Running my application in a local appserver using MyEclipse and WAS 8.5.5.3 is working fine however after deploying my application to a remove test environment, be it on Intel or Linux with the same Websphere version 8.5.5.3, I get this exception below.  I did talk to a Teradata DBA and she said if I use my local my sql statement has  PREFIX OF THE TERADATA SCHEMA however in the remote test environment, it seems that the schema is not read or does not exist.  Please help.
 
 

Forums: 

Verizon FIOS hangs with Excel via ODBC

$
0
0

Looking to see if someone out there has seen this issue.
We have an excel application accessing Teradata via ODBC.
We are seeing connection issue using FIOS network with Excel via ODBC. FIOS hangs and no error message is given. The interesting thing is that SQL-A works fine with the same ODBC setup with FIOS.
Excel application seems to work fine with Comcast and any other ISP that is NOT FIOS using ODBC. The excel application works fine within the customer's network. This issue comes up with clients connecting from home using FIOS.
We have made inquiries to Verizon support and they suggested changing some of the firewall settings; unfortunately this did not resolve the issue.
Has anyone seen this or have any insight to a solution?
 

Forums: 

JDBC Connection for Web SQL Assistant

$
0
0

I have created a database through web sql assistant and have created a java program to connect to this database and retrieve data.  The connection will not work as it seems that I am not able to specify the database server name.
I have connected to a Oracle database through this program with no problems.
Any suggestions?
 

Forums: 

Teradata CONNECTION TABLE AUDIT A RSA ENVISION

$
0
0

I need to know if ENVISION RSA to link the DBC.AccLog.Tbl audit table with only the SELECT query can block Teradata table.
The DBA tell me this:
take into consideration that teradata can not directly access the table is accessed views in order to avoid table blocks. View DBC.AccesLog is to be accessed in replacement DBC.AccLogTbl table (winth the same structure) is recommended by the DBA.
 
It is a TRUE?

Forums: 

Connectivity issues for SQL Assistant 15

$
0
0

I recently installed TTU 15. The Windows version is XP Sp3 32 bit.
I was using the TTU 14 previously and it was working fine.
Prior to installing the new version, I completely uninstalled all the tools related to v14 using the unintall vb script provided alongwith the TTU 15 package
Then I rebooted the system and installed TTU 15
 
Now while trying to login via ODBC i am getting error "Cannot Load TDGSS Library"
Also while trying to configure new data source i am getting error "Unknown error occurred in TERASSO library"
However I am able to login via Teradata.Net Provider. The problem is only for ODBC
I uninstalled ODBC,ICU &GSS
Then I installed the above in the below order 
 
GSS->ICU>ODBC
 
But the error does not go away

Forums: 

connection using JDBC giving java.lang.IllegalArgumentException

$
0
0

Hi,
I am very new to Teradata. I have simple java program to connect to terdata database and get metadata information e. column name , datatype etc. I have requirement to call this java code inside Oracle database.

Jdbc Version : 14.10.00.39
Terdata Version : 14.10.00
Oracle Version : 11.2.0.3
Java :

java version "1.5.0_30"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03)

Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_30-b03, mixed mode)

 
Standalone program works. but when I call from inside Oracle , I get following error stack
*** IllegalArgumentException caught ***

 Error code: null

java.lang.IllegalArgumentException

        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.limit(TDPacketStream.java:142)

        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:774)

        at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:102)

        at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205)

        at com.teradata.jdbc.jdk14.JDK14_SQL_Connection.<init>(JDK14_SQL_Connection.java:31)

        at com.teradata.jdbc.jdbc.ConnectionFactory.constructSQLConnection(ConnectionFactory.java:106)

        at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)

        at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)

        at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)

        at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)

        at java.sql.DriverManager.getConnection(DriverManager.java)

        at java.sql.DriverManager.getConnection(DriverManager.java:187)

        at TDTabList.GetTDList(TDTabList.java:32)

 

Here is DEBUG log 

 

2015-01-02.10:36:08.873 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Hostname lookup for teradata.db.server.com took 18 ms and found 1 address(es)

2015-01-02.10:36:08.874 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Before connect loop: sm_mapConnectFailures={}

2015-01-02.10:36:08.874 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 setAddresses=[teradata.db.server.com/10.17.17.120:1025]

2015-01-02.10:36:08.874 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Attempting connection 1 to teradata.db.server.com/10.17.17.120:1025

2015-01-02.10:36:08.878 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Connection attempt to teradata.db.server.com/10.17.17.120:1025 with timeout 10000 ms to

ok 2 ms and succeeded, waiting for thread took 0 ms

2015-01-02.10:36:08.879 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Completed connection: socket orig=teradata.db.server.com local=/10.27.28.46:30915 remot

e=teradata.db.server.com/10.17.17.120:1025 keepalive=false nodelay=false receive=131072 send=131072 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=2 connecttotaltime=5

connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=f8c9f752 sess=0

2015-01-02.10:36:08.879 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Raw packet transmit: byte array length 65156 (0xfe84), offset 0 (0x0), dump length 106 (0x6a)

00000   03 01 0a 00 00 07 00 00 00 36 00 00 00 00 00 00  |.........6......|

00010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|

00020   00 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00  |................|

00030   00 00 00 00 00 a6 00 36 00 00 00 01 00 02 00 04  |.......6........|

00040   0e 0a 00 01 00 01 00 0c 54 54 55 20 31 34 2e 31  |........TTU 14.1|

00050   30 2e 30 30 00 04 00 00 00 08 00 01 01 00 03 00  |0.00............|

00060   00 00 05 00 00 00 09 00 01 01                    |..........|

 

2015-01-02.10:36:08.880 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Thread Root Thread now owns lock: IO WriteLock

2015-01-02.10:36:08.880 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Wrote Config request message, 106 bytes, time: 0 ms

2015-01-02.10:36:08.880 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Thread Root Thread attempt to unlock IO WriteLock

2015-01-02.10:36:08.881 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Read Config response message 1, 1356 bytes, time: 1 ms

2015-01-02.10:36:08.882 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Raw packet receive: byte array length 65156 (0xfe84), offset 0 (0x0), dump length 1356 (0x54c)

00000   03 02 0a 00 00 07 00 00 05 18 00 00 00 00 00 00  |................|

00010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|

...

 

2015-01-02.10:36:08.873 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Hostname lookup for teradata.db.server.com took 18 ms and found 1 address(es)

2015-01-02.10:36:08.874 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Before connect loop: sm_mapConnectFailures={}

2015-01-02.10:36:08.874 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 setAddresses=[teradata.db.server.com/10.17.17.120:1025]

2015-01-02.10:36:08.874 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Attempting connection 1 to teradata.db.server.com/10.17.17.120:1025

2015-01-02.10:36:08.878 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Connection attempt to teradata.db.server.com/10.17.17.120:1025 with timeout 10000 ms to

ok 2 ms and succeeded, waiting for thread took 0 ms

2015-01-02.10:36:08.879 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Completed connection: socket orig=teradata.db.server.com local=/10.27.28.46:30915 remot

e=teradata.db.server.com/10.17.17.120:1025 keepalive=false nodelay=false receive=131072 send=131072 linger=10 traffic=0 concurrent=3 contimeout=10000 conwait=1000 connecttime=2 connecttotaltime=5

connectattempts=1 connectfailures=0 reconnectattempts=0 recoverable=false redrive=false failurecache={} cid=f8c9f752 sess=0

2015-01-02.10:36:08.879 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Raw packet transmit: byte array length 65156 (0xfe84), offset 0 (0x0), dump length 106 (0x6a)

00000   03 01 0a 00 00 07 00 00 00 36 00 00 00 00 00 00  |.........6......|

00010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|

00020   00 00 00 00 00 ff 00 00 00 00 00 00 00 00 00 00  |................|

00030   00 00 00 00 00 a6 00 36 00 00 00 01 00 02 00 04  |.......6........|

00040   0e 0a 00 01 00 01 00 0c 54 54 55 20 31 34 2e 31  |........TTU 14.1|

00050   30 2e 30 30 00 04 00 00 00 08 00 01 01 00 03 00  |0.00............|

00060   00 00 05 00 00 00 09 00 01 01                    |..........|

 

2015-01-02.10:36:08.880 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Thread Root Thread now owns lock: IO WriteLock

2015-01-02.10:36:08.880 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Wrote Config request message, 106 bytes, time: 0 ms

2015-01-02.10:36:08.880 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Thread Root Thread attempt to unlock IO WriteLock

2015-01-02.10:36:08.881 TERAJDBC4 TIMING [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Read Config response message 1, 1356 bytes, time: 1 ms

2015-01-02.10:36:08.882 TERAJDBC4 DEBUG [Root Thread] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@917ab4b8 Raw packet receive: byte array length 65156 (0xfe84), offset 0 (0x0), dump length 1356 (0x54c)

00000   03 02 0a 00 00 07 00 00 05 18 00 00 00 00 00 00  |................|

00010   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|

 

Fails with 

*** IllegalArgumentException caught ***

 Error code: null

java.lang.IllegalArgumentException

        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.limit(TDPacketStream.java:142)

        at com.teradata.jdbc.jdbc_4.io.TDPacketStream.readStream(TDPacketStream.java:774)

        at com.teradata.jdbc.jdbc.GenericLogonController.run(GenericLogonController.java:102)

        at com.teradata.jdbc.jdbc_4.TDSession.<init>(TDSession.java:205)

        at com.teradata.jdbc.jdk14.JDK14_SQL_Connection.<init>(JDK14_SQL_Connection.java:31)

        at com.teradata.jdbc.jdbc.ConnectionFactory.constructSQLConnection(ConnectionFactory.java:106)

        at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:179)

        at com.teradata.jdbc.jdbc.ConnectionFactory.createConnection(ConnectionFactory.java:169)

        at com.teradata.jdbc.TeraDriver.doConnect(TeraDriver.java:232)

        at com.teradata.jdbc.TeraDriver.connect(TeraDriver.java:158)

        at java.sql.DriverManager.getConnection(DriverManager.java)

        at java.sql.DriverManager.getConnection(DriverManager.java:187)

        at TDTabList.GetTDList(TDTabList.java:32)

 

Stack trace is identical when I run it out side Oracle 

 

Additional Lines DEBUG lines from when from java 

 

003f0   01 01 00 0d 00 3e 31 34 2e 31 30 2e 30 33 2e 30  |.....>14.10.03.0|

00400   34 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  |4               |

00410   20 20 20 20 31 34 2e 31 30 2e 30 33 2e 30 34 20  |    14.10.03.04 |

00420   20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  |                |

00430   20 20 20 20 00 0e 00 04 02 02 01 02 00 0f 00 22  |    ..........."|

00440   00 01 01 00 00 01 00 01 00 00 00 01 00 01 00 01  |................|

00450   00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 01  |................|

00460   01 00 00 10 00 14 00 00 00 00 00 00 00 00 00 00  |................|

00470   80 02 00 00 00 00 00 00 00 00 00 06 00 02 01 49  |...............I|

00480   00 a5 00 38 00 00 00 01 00 01 00 05 01 00 02 00  |...8............|

00490   08 0e 0a 03 01 00 03 00 04 00 04 00 06 00 22 00  |..............".|

004a0   06 00 04 00 05 00 04 00 07 00 04 00 08 00 04 00  |................|

004b0   09 00 04 00 0a 00 05 01 00 a7 00 31 00 00 00 01  |...........1....|

004c0   00 00 00 0d 2b 06 01 04 01 81 3f 01 87 74 01 01  |....+.....?..t..|

004d0   09 00 10 00 0c 00 00 00 03 00 00 00 01 00 11 00  |................|

004e0   0c 00 00 00 01 00 00 00 14 00 a7 00 24 00 00 00  |............$...|

004f0   01 00 00 00 0c 2b 06 01 04 01 81 3f 01 87 74 01  |.....+.....?..t.|

00500   14 00 11 00 0c 00 00 00 01 00 00 00 46 00 a7 00  |............F...|

00510   21 00 00 00 01 00 00 00 09 2a 86 48 86 f7 12 01  |!........*.H....|

00520   02 02 00 11 00 0c 00 00 00 01 00 00 00 28 00 a7  |.............(..|

00530   00 1e 00 00 00 01 00 00 00 06 2b 06 01 05 05 02  |..........+.....|

00540   00 11 00 0c 00 00 00 01 00 00 00 41              |...........A|

 

Works here ...

 

2015-01-02.10:40:01.933 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory:nextParcel flavor value: 43

2015-01-02.10:40:01.933 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory: creating an ConfigRspParcel

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad arraySupport=1 outParamArgSupport=1 largeDecimalBIGINT=1 generatedKeysSupport=1 m_trustedSQLSupport=1 m_byXMLSupport=1

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad lobSupport=1 aphSupport=1 extendedRspSupport=1 positioningSupport=1 udtSupport=1 enhancedStatementStatusSupport=0 aphResponseSupport=1 s

tatementInfoSupport=1 dynamicResultSetsSupport=1 msrPositioningSupport=1 m_statementInfoRequestSupport=1 m_byUDTTransformOffSupport=2 m_byPeriodDataTypeSupport=1 m_byElicitByNameSupport=1 m_byClientAttributesSupport=1 m_nFetchRowCountSu

pport=1 m_byStatementIndependenceSupport=1 m_byArrayDataTypeSupport=1 m_byNumberDataTypeSupport=1 m_byStatementStatusLevel=1 m_byFailFastSupport=1 m_byUnityClientAttributesSupport=1 m_byRecoverableNPSupport=1 m_byRedriveSupport=0 m_byCo

ntrolDataSupport=1 m_byJsonSupport=0

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory:nextParcel flavor value: 165

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory: creating a GtwConfigParcel

 

2015-01-02.10:40:01.933 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory:nextParcel flavor value: 43

2015-01-02.10:40:01.933 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory: creating an ConfigRspParcel

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad arraySupport=1 outParamArgSupport=1 largeDecimalBIGINT=1 generatedKeysSupport=1 m_trustedSQLSupport=1 m_byXMLSupport=1

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad lobSupport=1 aphSupport=1 extendedRspSupport=1 positioningSupport=1 udtSupport=1 enhancedStatementStatusSupport=0 aphResponseSupport=1 s

tatementInfoSupport=1 dynamicResultSetsSupport=1 msrPositioningSupport=1 m_statementInfoRequestSupport=1 m_byUDTTransformOffSupport=2 m_byPeriodDataTypeSupport=1 m_byElicitByNameSupport=1 m_byClientAttributesSupport=1 m_nFetchRowCountSu

pport=1 m_byStatementIndependenceSupport=1 m_byArrayDataTypeSupport=1 m_byNumberDataTypeSupport=1 m_byStatementStatusLevel=1 m_byFailFastSupport=1 m_byUnityClientAttributesSupport=1 m_byRecoverableNPSupport=1 m_byRedriveSupport=0 m_byCo

ntrolDataSupport=1 m_byJsonSupport=0

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory:nextParcel flavor value: 165

2015-01-02.10:40:01.934 TERAJDBC4 DEBUG [main] com.teradata.jdbc.jdk14.JDK14_SQL_Connection@5f934ad ParcelFactory: creating a GtwConfigParcel

 

...

 

Code :

 

import java.io.*;
import java.sql.*;
import com.teradata.jdbc.*;

public class TDTabList
{                       
        public static void GetTDList()
        throws ClassNotFoundException
        {
                try
                {
                        String sUser = "uid";
                        String sPassword = "pwd";

                        String DBName = "DB";
                        String TableName = "TABLE";
                        String ColList = "*";

                        String url = "jdbc:teradata://teradata.db.server.com/TMODE=ANSI,CHARSET=ASCII,LOG=DEBUG,COP=OFF";

                        Class.forName("com.teradata.jdbc.TeraDriver");
                        Connection con =  DriverManager.getConnection(url, sUser, sPassword);

                        con.setAutoCommit(false);

                        try
                        {
                                String v_sql = " Select " + ColList + " from " + DBName + "." + TableName + " Where 1=2";
                                System.out.println("SQL :" + v_sql );

                                Statement stmt = con.createStatement();
                                try
                                {
                                        ResultSet rset = stmt.executeQuery(v_sql);
                                        ResultSetMetaData rsmd = rset.getMetaData();

                                        String v_ColumnName;
                                        String v_ColumnTypeName;

                                        int    colCount = rsmd.getColumnCount();
                                        int    i = 1;
                                        int    v_data_length;
                                        int    v_data_precision;
                                        int    v_data_scale;
                                        int    v_Nullable;

                                        while(i <= colCount)
                                        {
                                                v_ColumnName     = rsmd.getColumnName(i);
                                                v_ColumnTypeName = rsmd.getColumnTypeName(i);
                                                v_data_length    = rsmd.getColumnDisplaySize(i);
                                                v_data_precision = rsmd.getPrecision(i);
                                                v_data_scale     = rsmd.getScale(i);
                                                v_Nullable       = rsmd.isNullable(i);

                                                System.out.println(rsmd.getColumnName(i)+":"+rsmd.getColumnTypeName(i)+":("+(rsmd.getPrecision(i)==0?rsmd.getColumnDisplaySize(i):rsmd.getPrecision(i))+(rsmd.getScale(i)!=0?","+ 

rsmd.getScale(i)+")":")"));
                                                i++;
                                        }
                                }
                                finally
                                {
                                        stmt.close();
                                }
                        }

                        finally
                        {
                                con.close();
                        }
        
                }

                catch (SQLException ex)
                {
                        // A SQLException was generated.  Catch it and display
                        // the error information. Note that there could be multiple
                        // error objects chained together.
                        System.out.println();
                        System.out.println("*** SQLException caught ***");

                        while (ex != null)
                        {
                                System.out.println(" Error code: " + ex.getErrorCode());
                                System.out.println(" SQL State: " + ex.getSQLState());
                                System.out.println(" Message: " + ex.getMessage());
                                ex.printStackTrace();
                                System.out.println();
                                ex = ex.getNextException();
                        }

                        throw new IllegalStateException ("GetTabColumns failed.") ;
                }

                catch (IllegalArgumentException ex)
                {
                        System.out.println();
                        System.out.println("*** IllegalArgumentException caught ***");

                        System.out.println(" Error code: " + ex.getMessage());
                        ex.printStackTrace();
                        System.out.println();

                        throw new IllegalStateException ("GetTabColumns failed.") ;
                }

        } // End class GetTDList

} // End class TDTabList

 

Any help / pointer to debug/fix this issue ?
Thanks in advance
Guru

Forums: 

JDBC connection via VPN vs non-VPN

$
0
0

Hi,
I created a java program that connects to Teradata and performs a few simple Sql statements against some dbc.* tables.  The program loops through 5 or 6 iterations of java code and Terdata reads before it suddenly halts due to not having the next line of data available (result.next), although there is data from the Sql statement that still hasn't processed yet.
This only happens when I run it from a VPN connection.  When run on a unix box or from a direct lan connection, the program runs fine.
I think the VPN slows the result set returning from Teradata while the program has already executed the next read command before it's available.  I'm not using threading but am wondering if I should be. 
Anyone know of any connection options that might get around this? 

Forums: 

AIX 6.1; Teradata ODBC 14.10; adhoc throws "79 Socket error"

$
0
0

 

$ /opt/teradata/client/14.10/odbc_32/samples/C/adhoc

 

Enter Data Source Name: tddev

Enter UserID: a_gilliee

Enter Password:

 

Connecting with SQLConnect(DSN=tddev,UID=a_gilliee,PWD=*)...

 

adhoc: (SQL Diagnostics) STATE=HYT00, CODE=78, MSG=[Teradata][Unix system error]  78 Socket error - No response received when attempting to connect to the Teradata server

 

ODBC connection closed.

 
Here is the  Data Source definition:

[TDDEV]

InstallDir=/opt/teradata/client/14.10/odbc_32

TraceDll=/opt/teradata/client/ODBC_32/lib/odbctrac.so

Driver=/opt/teradata/client/14.10/odbc_32/lib/tdata.so

Description=Teradata

DBCName=10.8.47.46

 
Here is  LIBPATH

$ echo $LIBPATH

/opt/teradata/client/ODBC_32/lib:/opt/teradata/client/14.10/lib:/opt/teradata/client/14.10/tbuild/lib:/usr/lib:/oracle/usa/10.2.0/lib32:/db2/db2pmutc/sqllib/lib:/opt/Progress/DataDirect/Connect_for_ODBC_61/lib

 

ip-address 10.8.47.46  is  reachable on the network:

 

 

$ ping 10.8.47.46

PING 10.8.47.46: (10.8.47.46): 56 data bytes

64 bytes from 10.8.47.46: icmp_seq=0 ttl=63 time=0 ms

 

Here are the packages.. .. .. 

 

$ lslpp -lc  | grep -i  teradata | grep -i odbc

/usr/lib/objrepos:tdodbc1410.tdodbc1410:14.10.0.6::COMMITTED:I:Teradata ODBC Driver for AIX (ODBC 14.10.00.06):

 

$ lslpp -lc  | grep -i  teradata | grep -i  icu

/usr/lib/objrepos:tdicu1410.tdicu1410:14.10.0.0::COMMITTED:I:Shared Common Components for Internationalization for Teradata (14.10.00.00) for IBM-AIX:

/etc/objrepos:tdicu1410.tdicu1410:14.10.0.0::COMMITTED:I:Shared Common Components for Internationalization for Teradata (14.10.00.00) for IBM-AIX:

 

$ lslpp -lc  | grep -i  teradata | grep -i cli

/usr/lib/objrepos:TeraGSS_aix_power.TeraGSS_aix_power_14.10.02.08:14.10.2.8::COMMITTED:I:Teradata GSS client 14.10.02.08:

/usr/lib/objrepos:TeraGSS_aix_power.TeraGSS_aix_power_14.10.03.05:14.10.3.5::COMMITTED:I:Teradata GSS client 14.10.03.05:

/usr/lib/objrepos:cliv21410.cliv21410:14.10.0.6::COMMITTED:I:Teradata CLIV2 Library (14.10.00.06) for IBM-AIX.:

/etc/objrepos:cliv21410.cliv21410:14.10.0.6::COMMITTED:I:Teradata CLIV2 Library (14.10.00.06) for IBM-AIX.:

 

$ lslpp -lc  | grep -i  teradata | grep -i gss

/usr/lib/objrepos:TeraGSS_aix_power.TeraGSS_aix_power_14.10.02.08:14.10.2.8::COMMITTED:I:Teradata GSS client 14.10.02.08:

/usr/lib/objrepos:TeraGSS_aix_power.TeraGSS_aix_power_14.10.03.05:14.10.3.5::COMMITTED:I:Teradata GSS client 14.10.03.05:

 

Any suggestions ?
Thanks.

Forums: 

"PE only" nodes - should they be included in the "COP" list?

$
0
0

In our new TD14.10 system, we have a new feature that I have never dealt with in past releases: "PE only" nodes. In our new TD14.10 system we have some "PE only" nodes which only
contain PEs (i.e. they do not contain any AMPs). Should these "PE only" nodes be included in the DNS/hosts "COP" list?

Forums: 

SAS TDT Connection Failure: "name not in HOSTS file"

$
0
0

Dear Teradata Community,
I got a failure message - "name  in HOSTS file" - when trying to connect from SAS to Teradata Platform.
The current architecture is using a DNS server performing translation between IP adress of the different nodes and an "alias name - AN -" issued in the logon string connection.
(1) Connection from SAS Server to Teradata Platform is operational using BTEQ
(2) Issuing a "ping AN" command from the SAS Server returns a "Teradata node adress"
(3) Substitution of the AN by that "Teradata Node adress" in the "SAS connection order" is operational too !
Does that mean that SAS application still use the HOSTS file to connect ? Do I have to fill that file with the different cop"i" adress ?
Thanks a lot for any kind of help you can give me,
Didier.
 

Forums: 

Qlikview Failures

$
0
0

Hi.  I'm fairly new to Qlikview and Teradata connectivity.
Using the TPT connector I can NOT make a connection at all.
Using ODBC (32 or 64) I get the dreaded:
Error: SQL##f - SqlState: IM002, ErrorCode: 0, ErrorMsg: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Using the OLE DB wrapper on it ... same deal.
 
It's a show stopper, anyone have an idea to help?  Is it a permissions issue of some sort?
 
Thanks for any help.

Forums: 

Searching for ODBC for Windows 14.10.00.06

$
0
0

I am trying to locate the Teradata 32Bit ODBC Drivers for Windows version 14.10.00.06 to reproduce a problem at a customer site. The latest that I can find are 14.10.00.05 which are in the 14.10.15 version of the ODBC suite on the Teradata ODBC Driver for Windows download page. Is there a download for 14.10.00.06?

Forums: 

Faulting module name: tdata32.dll version 13.10.0.1

$
0
0

We are running Informatica 9.5 with Teradata V14.10 using TTU 13.10.  For some of the Informatica jobs, it gives error as 'Faulting module name: tdata32.dll version 13.10.0.1' and jobs fail though data gets loaded correctly in Teradata. Only few jobs fail beacuse of this error and not all. Is there any solution for this?  

Forums: 

ODBC odbcconf.exe vs ODBC Driver for Teradata Vers. 15.00.00.01

$
0
0

Hello,
I hope this is the right place to ask...
In order to define system ODBC DSN we use the following command on various windows platform/version :
odbcconf.exe configsysdsn "Teradata""DSN=Teradata|Description=Teradata blah blah|DBCName=tdata.xxxxx.local" /Lv c:\temp\o.log
It work fine with with ODBC driver version 14 and do not work anymore using ODBC version 15.00.00.01, why?
Do not work anymore on Win 2003 nor Window 2012.
I have read the ODBC's readme file without help on this issue, it's a know problem?
Thank you and ciao
GIovanni

Forums: 

Where can I get theAster ncluster odbc driver for mac os.

$
0
0

Where can I get theAster ncluster odbc driver for mac os. I need the driver for RODBC connectivity. 
 
Thanks,
Amit

Tags: 
Forums: 

Map views with table for .net provider to access views

how to access views in .net provider

$
0
0

Hi all,
I wanna connect with views in teradata through .net provider. but i am unable to access those views which i have created in teradata database. kindly let me know where i went wrong and what i need to do to access views like table in my c# project.
Kindly do the needful . expecting possitive reply soon.
thanks 
Sam.

Forums: 

Teradata ODBC driver 14

$
0
0

The Teradata ODBC driver v14 does not seem to conform to the specs. When running SQLStatistics with SQL_QUICK, the call does lots of locking and count(*) operations. The manual says that SQL_QUICK should prevent this behavior.

Tags: 
Forums: 

Teradata ODBC Soutrce

$
0
0

Hello. Unfortunatelly the net is really empty with that information. I didn't find anything right about that. Please, help me with that common problem. I can't connect my Teradata SQL Assistant to ODBC Teradata Source. I'm working alone at my home pc (local host). I've got mysql client and database where i was studying sql first. Now i'm working with Teradata and can't make in possible to work through the Assistant. It always have one error: 10061 WSA E connection refused: Teradata server not accepting the connection. I've created the default ODBC Teradata source with server name localhost and username, passord like my acount in mysql. Could you help me? Thanks.

Forums: 

How to connect Teradata in ASP.NET MVC using EF

$
0
0

Hi,
   I am new to Teradata, and I wnat to use this in my ASP.NET MVC (VS 203) applicaiton. So Was thinking to use Entity framework. But I dont know how to add this. I already installed .NET Data Provider for Teradata 13.11.0.1. When I try to add edmx it gives me only Sql Server realted options like Microdoft Sql Server , Microsoft SQL Server Database file, Others.
 
So could anybody please give me steps how to acheive this
 
Thanks,
Mahendra 
 
   

Forums: 
Viewing all 445 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>