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

How to execute a stored procedure from vba excel

$
0
0

Hi,

I have a stored procedure to grant a role to a user wherein i pass name,rolename,request no and have a o/p variable to get any success/failure message. i have this working very fine. Now , i plan to create a wrapper around this using vba excel and have a dba input these details and call this SP internally and assign the role. I am facing problems here. I have all the things set, but when i run the SP i get an error : 

teradata odbc error : there is a mismatch between number of parameters specified and the number of parameters required.

 

I have the below code to set parameters :

 

 

 

cmdSQLData.CommandText = "GrantUser"'We assing the query as command text

 

    cmdSQLData.CommandType = adCmdStoredProc  'We just say what kind of command VBA has to execute

 

    cmdSQLData.NamedParameters = True

 

    cmdSQLData.Parameters.Append cmdSQLData.CreateParameter(, adInteger, adParamReturnValue, , Null)   ' return value

 

    cmdSQLData.Parameters.Append cmdSQLData.CreateParameter("Inparm1", adVarChar, adParamInput, 100, rolename)

 

    cmdSQLData.Parameters.Append cmdSQLData.CreateParameter("Inparm2", adVarChar, adParamInput, 30, username)

 

    cmdSQLData.Parameters.Append cmdSQLData.CreateParameter("Inparm3", adVarChar, adParamInput, 30, SSRno)

 

    cmdSQLData.Parameters.Append cmdSQLData.CreateParameter("Outparm", adVarChar, adParamOutput, 200, Null)

 

    Set rs = cmdSQLData.Execute 'VBA just run the query and send back the result

 

    

 

SP defn :

 

REPLACE PROCEDURE SysDBA.GrantUser (       IN  ROLERIGHT         VARCHAR(100)

 

      ,IN  USRNAME            VARCHAR(30)

 

      ,IN  request                    VARCHAR(30)

 

      ,OUT MESSAGE         VARCHAR(200)

 

      )

 

Can anyone please help me out, i am stuck here for last 3 days. I have tried all possible options, but of no help.

 

 

 

Thanks !

Forums: 

How to call a Teradata stored procedure using openJPA?

$
0
0

I have a Teradata Datasource that uses TeraData JDBC driver for connection running locally on Websphere 8.5.5.2.  In this datasource, I have a custom property called 'databaseName' which represents a schema from the Teradata datasource.  I have a java class that needs to call a Teradata stored procedure that accepts 2 string parameters and outputs a resultset.  The call to the Teradata stored procedure involves a concatenation of a 'databaseName' in the sql statement itself like this example:  EXEC CER505C.M_SAP_SOURCE_CLAIM_SEARCH (?, ?); The 'CER505C' represents the 'databaseName' from the Teradata datasource customer property.  I your help on how to configure this in java openJPA to make it visible in a java class.  Here's a snippet of the code:
BaseJDBDAO has this one below:
abstract class BaseJdbcDAO {

    
    ////////////////////////////////////////////////////////////
    // PRIVATE INSTANCE VARIABLES
    ////////////////////////////////////////////////////////////
    @Resource(name="jdbc/tera_generic")
    private DataSource dataSource;
=============================================
EDWHistoricalClaimLineDAOImpl.java below:
@Stateless
public class EDWHistoricalClaimLineDAOImpl
extends BaseJdbcDAO
implements EDWHistoricalClaimLineDAO
{
    private Logger logger = Logger.getLogger(EDWHistoricalClaimLineDAOImpl.class);
    private static final String MACRO_CLAIM_NUMBER_SQL1 = "EXEC ";
    private static final String MACRO_CLAIM_NUMBER_SQL2 = ".M_SAP_SOURCE_CLAIM_SEARCH (?, ?);";
    private static final String MACRO_UMI_SQL1 = "EXEC ";
    private static final String MACRO_UMI_SQL2 = ".M_SAP_UMI_SRVC_DATE_SEARCH (?, ?, ?, ?);";
    ////////////////////////////////////////////////////////////
    // PRIVATE INSTANCE VARIABLES
    ////////////////////////////////////////////////////////////
    private String databaseName;  // this is what I need to get from the custom property in the Websphere server configuration
    private String macroClaimSql;
    private String macroUmiSql;
 
Thank you

Forums: 

ODBC Drivers on Solaris not working for OBIEE Admin Tool

$
0
0

Hi,
 
We installed the Teradata ODBC drivers (v15.00) on an Exalytics T5-8 clustered environment (2 nodes) - with all prerequisites in place.
We tested on both nodes with nqcmd and we can select metadata and data from both Solaris nodes.
We also created the Teradata DSN on a client PC as well as the Oracle BI Server DSN and connected to the OBIEE Repository online with the BI Administrator Tool.  From here we are able to import metadata, but...
we cannot do row counts or view data.
 
Any input to resolve our issue would be appreciated!
 
Regards,
Casper

Tags: 
Forums: 

Connections Created (w/ ODBC/.NET) Are Surviving After conn.Close()

$
0
0

I have written a C# ASP.NET application that uses the Windows TD ODBC driver (v 13.10.00.10).  In my code, I create an open a connection, perform my query, then close the connection.  However, what we are seeing is that the connection (session) persists in Teradata for some arbitrary amount of time after the application has finished with the connection and closed it. My code is below. 
I'm trying to understand what happens on the Terdata side once an application closes a connection via ODBC.  Is there any way to explicitly end the session as soon as the application is done using it with ODBC?
Some of the connections disappear from DBC.SESSIONINFO in a matter of 10 seconds, some take 10-15 minutes before they finally disappear.
Any help would be most appreciated.

private void current_Way()
        {
            OdbcConnection conn = null;
            try
            {
                String q = "SEL sessionno, username FROM DBC.SESSIONINFO WHERE USERNAME = 'my_user';";
                Response.Write(q + "<br/>");
                
                conn = new OdbcConnection("DSN=mydsn");
                conn.Open();

                OdbcCommand cmd = new OdbcCommand(q, conn);
                OdbcDataReader dr = cmd.ExecuteReader();

                while (dr.Read())
                {
                    Response.Write(dr[0].ToString() + "" + dr[1].ToString() + "<br/>");
                }

                dr.Close();
                conn.Close();
                conn.Dispose();

                Response.Write("Connection state?  " + conn.State + "<br/>");
                Response.Write("DataReader closed?  " + dr.IsClosed);
            }//end try
            catch (Exception ex) { Response.Write(ex.Message); }
            finally { }
        }

 

Forums: 

Command line installation for ODBC Driver for Windows 15.00.00.00

$
0
0

Hi,
 
I am trying to package the ODBC driver for installation at our company and am encountering some issues with setup.exe. The GUI claims it is installshield but all the usual command line arguements are not working. I jsut get an error "The setup command line is invalid. The setup cannot proceed".
I have tried ...
 
setup.exe /r
setup.exe /s
setup.exe /s /v"/qn /log c:\logdir\log.txt" 
setup.exe /?
 
They all result in the same error message. Can anyone please advise how to install the ODBC driver from the command line?
 
Thanks

Forums: 

.NET Executing macro and statement cache

$
0
0

Hello,
I already post about that kind of subject in the past and we achieved to succeed it in Java/JDBC mode.
Our issue
We are executing macro statement in a multithreaded batch mode. We just cannot achieve to take advantage of statement cache (cacheFlag=T).
How can we take advantage of statement cache with .NET Teradata provider ?
I'm believing that s not possible to achieve trought .NET Teradata drivers.
Thanks you by advance for your help.
 
Below some additionals infos :
Code sample
We re using Teradata.Client.Provider 15.00
Sample in c#

// Dedicated open connection to the command
this.command = this.controller.NewConnection().CreateCommand();
this.command.CommandType = System.Data.CommandType.Text;
// setup the macro statement
this.command.CommandText = this.configuredTeradataJob.QueryText;
// Preparing Command Parameter Type;
foreach (TdParameter p in this.configuredTeradataJob.Parameters)
{
	TdParameter parameter = command.CreateParameter();
	parameter.ParameterName = p.ParameterName;
	parameter.DbType = p.DbType;
	parameter.Direction = System.Data.ParameterDirection.Input;
	this.command.Parameters.Add(parameter);
}
this.command.Prepare();

while(batch) {
	// setup parameters value
	int indexParameter = 0;
	foreach (string arg in args)
	{
		this.command.Parameters[indexParameter++].Value = arg;
	}
	// execute
	this.command.ExecuteNonQuery();
}

 

Extract from ".NET Teradata Provider" documentation

Prepare method sends the SQL statement to Teradata Database which parses the statement and returns column information.
When CommandType is set to CommandType.StoredProcedure, TdCommand generates a CALL statement and utilizes the parameter collection to create the stored procedure arguments.
If you call one of the Execute methods after calling Prepare, the Data Provider will utilize the Statement Cache. However, if you call one of the Execute methods without calling Prepare, the .Net Data Provider will not utilize the Statement Cache.
If you change either the CommandText or CommandType property, the TdCommand is no longer in a Prepare state.
We strongly recommend that you Prepare parameterized queries that are executed frequently. That is first set the CommandText property, CommandType property and the Parameter collections. Next, prepare the command once and set parameter values and call execute method repeatedly.
 
The code is running fine using guidelines from doc.
Data from DBC.dbqlogtbl

SessionID StartTime QueryText CacheFlag ExtraField22

1 919577 03/11/2014 15:59:23.61 HELP SESSION Both 

2 919577 03/11/2014 15:59:23.82 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); PrepS

3 919577 03/11/2014 15:59:24.92 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); S Exec 

4 919577 03/11/2014 15:59:26.42 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); G Exec 

5 919577 03/11/2014 15:59:35.81 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

6 919577 03/11/2014 15:59:37.26 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

7 919577 03/11/2014 15:59:38.92 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

8 919577 03/11/2014 15:59:41.33 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

9 919577 03/11/2014 15:59:42.79 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

10 919577 03/11/2014 15:59:44.26 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

11 919577 03/11/2014 15:59:46.25 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

12 919577 03/11/2014 15:59:48.02 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

13 919577 03/11/2014 15:59:49.37 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

14 919577 03/11/2014 15:59:50.87 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

15 919577 03/11/2014 15:59:52.30 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

16 919577 03/11/2014 15:59:53.66 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

17 919577 03/11/2014 15:59:55.02 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

18 919577 03/11/2014 15:59:56.48 execute FRDM_PAF.M_PAF_SALES_DAY_ALLOCATION_ALL_DPT(?,?,?,?,?,?,?,?,?); A Exec 

 

Forums: 

Support for reading ORC File tables from Hadoop into Teradata using SQL-H?

Teradata Connectivity Issue - Connection reset by peer Error

$
0
0

I have intalled Teradata 13 in Windows 7 32 bit machine. I am getting an error 10054 WSA E ConnReset: Connection reset by peer.
I  tried to connect to local host (127.0.0.1) and same local host address is available in the host file but still I are not able to connect. I have started all the service related to Teradata.
The machine I am trying to install are in work group (isolated machines ) and no internet connections.
The same when I am trying to login using BTEQ I get the error as RDBMS crashed or session reset. Recovery in progress.
I uninstalled and intalled the Teradata 13 software but still getting the same error.
Please help me on this issue.

Forums: 

TPT Help with SSIS

$
0
0

TPT Help with SSIS

Hello All,
I just installed the Teradata 15.0 driver on one of the servers. Now I am able to connect to the TeraData DB and see all the drivers.
When I try to run the package, it complains that I am missing the TPT API. Fair enough. I downloaded the TTU 15.0 from the Teradata website and I am trying to follow 
 
http://www.attunity.com/forums/microsoft-ssis- teradata-connector/error-teradata-tpt-registry-key- cannot-1434.html article to recover from issues. 
I dont see the 1) Load and 2) Export TPT packages in there? What am I missing. I only want to install what is required and do not want to bloat my system. 
Please suggest what all I need to install so that I can pass it on to the DBA's who have admin rights on the system.
 
Thanks,
Rajiv.

 

Tags: 
Forums: 

Cannot find the full path for file

$
0
0

hello there
We are using SAP interface to load data from Stage area to TD, I use Parallel Transporter and when Ixecute the jon , it fails with message which is in Subject.
I understand that this file is missing and I cannot find it in C:\Program Files (x86)\Teradata\Client\15.00\bin .
Do we have to install something specific in order to make this running ? We use this td-ttu-15.00_for_Windows package, which I downloaded from Teradata site.

Forums: 

Connector 1.3 for Hortonworks 2.1 -- creates a view when importing

$
0
0

Hi All,
I am using the Hortonworks connector for teradata + sqoop.  When I import with a query statment the connector adds in a create view statment.  I don't have permissions to create a view (and I cannot get a connection with said permissions).  Please see below for error and sqoop statment.

sqoop import --connection-manager org.apache.sqoop.teradata.TeradataConnManager $CONNECT --query "select * from $TABLE where LOAD_DT=$LASTDATE AND \$CONDITIONS;" --username $USER --password $PASS --target-dir $IMPORT_DIR --split-by $SPLITBY
14/11/11 15:55:15 INFO manager.SqlManager: Using default fetchSize of 1000
14/11/11 15:55:15 INFO tool.CodeGenTool: The connection manager declares that it self manages mapping between records & fields and rows & columns.  No class will will be generated.
14/11/11 15:55:15 INFO teradata.TeradataConnManager: Importing from Teradata query:select * from TABLE where LOAD_DT=cast('2014-07-11' as date format 'yyyy-mm-dd') AND $CONDITIONS;
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting input file format in TeradataConfiguration to textfile
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Table name to import null
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting job type in TeradataConfiguration to hdfs
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting input file format in TeradataConfiguration to textfile
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting number of mappers in TeradataConfiguration to 4
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting input batch size in TeradataConfiguration to 1000
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting split by column in TeradataConfiguration to ROW_ID
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting input source query in TeradataConfiguration to select * from TABLE where LOAD_DT=cast('2014-07-11' as date format 'yyyy-mm-dd') AND  (1 = 1) ;
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Setting input separator in TeradataConfiguration to \u002c
14/11/11 15:55:15 INFO teradata.TeradataSqoopImportHelper: Import query select * from TABLE where LOAD_DT=cast('2014-07-11' as date format 'yyyy-mm-dd') AND  (1 = 1) ;
14/11/11 15:55:15 INFO processor.TeradataInputProcessor: input preprocessor com.teradata.connector.teradata.processor.TeradataSplitByPartitionProcessor starts at:&nbsp; 1415750115905
14/11/11 15:55:23 INFO utils.TeradataUtils: the input database product is Teradata
14/11/11 15:55:23 INFO utils.TeradataUtils: the input database version is 13.10
14/11/11 15:55:23 INFO utils.TeradataUtils: the jdbc driver version is 14.10
14/11/11 15:55:28 INFO processor.TeradataInputProcessor: the teradata connector for hadoop version is: 1.3.2
14/11/11 15:55:28 INFO processor.TeradataInputProcessor: input jdbc properties are jdbc:teradata://<redacted>
14/11/11 15:58:17 INFO processor.TeradataInputProcessor: input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByPartitionProcessor starts at:  1415750297445
14/11/11 15:58:26 INFO processor.TeradataInputProcessor: input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByPartitionProcessor ends at:  1415750297445
14/11/11 15:58:26 INFO processor.TeradataInputProcessor: the total elapsed time of input postprocessor com.teradata.connector.teradata.processor.TeradataSplitByPartitionProcessor is: 9s
14/11/11 15:58:26 ERROR teradata.TeradataSqoopImportHelper: Exception running Teradata import job
com.teradata.connector.common.exception.ConnectorException: com.teradata.jdbc.jdbc_4.util.JDBCException: [Teradata Database] [TeraJDBC 14.10.00.26] [Error 3524] [SQLState 42000] The user does not have CREATE VIEW access to database
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDatabaseSQLException(ErrorFactory.java:307)
	at com.teradata.jdbc.jdbc_4.statemachine.ReceiveInitSubState.action(ReceiveInitSubState.java:109)
	at com.teradata.jdbc.jdbc_4.statemachine.StatementReceiveState.subStateMachine(StatementReceiveState.java:314)
	at com.teradata.jdbc.jdbc_4.statemachine.StatementReceiveState.action(StatementReceiveState.java:202)
	at com.teradata.jdbc.jdbc_4.statemachine.StatementController.runBody(StatementController.java:123)
	at com.teradata.jdbc.jdbc_4.statemachine.StatementController.run(StatementController.java:114)
	at com.teradata.jdbc.jdbc_4.TDStatement.executeStatement(TDStatement.java:384)
	at com.teradata.jdbc.jdbc_4.TDStatement.executeStatement(TDStatement.java:326)
	at com.teradata.jdbc.jdbc_4.TDStatement.doNonPrepExecute(TDStatement.java:289)
	at com.teradata.jdbc.jdbc_4.TDStatement.execute(TDStatement.java:1106)
	at com.teradata.connector.teradata.db.TeradataConnection.executeDDL(TeradataConnection.java:437)
	at com.teradata.connector.teradata.db.TeradataConnection.createView(TeradataConnection.java:485)
	at com.teradata.connector.teradata.processor.TeradataSplitByPartitionProcessor.setupDatabaseEnvironment(TeradataSplitByPartitionProcessor.java:237)
	at com.teradata.connector.teradata.processor.TeradataInputProcessor.inputPreProcessor(TeradataInputProcessor.java:35)
	at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:80)
	at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:48)
	at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370)
	at org.apache.sqoop.teradata.TeradataConnManager.importQuery(TeradataConnManager.java:529)
	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:415)
	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:506)
	at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231)
	at org.apache.sqoop.Sqoop.main(Sqoop.java:240)

	at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:104)
	at com.teradata.connector.common.tool.ConnectorJobRunner.runJob(ConnectorJobRunner.java:48)
	at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:370)
	at org.apache.sqoop.teradata.TeradataConnManager.importQuery(TeradataConnManager.java:529)
	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:415)
	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:506)
	at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231)
	at org.apache.sqoop.Sqoop.main(Sqoop.java:240)
14/11/11 15:58:26 INFO teradata.TeradataSqoopImportHelper: Teradata import job completed with exit code 1
14/11/11 15:58:26 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: Exception running Teradata import job
	at org.apache.sqoop.teradata.TeradataSqoopImportHelper.runJob(TeradataSqoopImportHelper.java:373)
	at org.apache.sqoop.teradata.TeradataConnManager.importQuery(TeradataConnManager.java:529)
	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:415)
	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:506)
	at org.apache.sqoop.Sqoop.run(Sqoop.java:147)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222)
	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231)
	at org.apache.sqoop.Sqoop.main(Sqoop.java:240)

Any help on this issue would be appreciated.  I do not understand why it would try to create a table when I am asking it to import data.
Thank you,
Mattie

Forums: 

Wierd non-text error message when trying to connect via pyodbc

$
0
0

My code:

import pyodbc
td_connstr = "DRIVER={Teradata};DBCNAME=%s;UID=%s;PWD=%s;DATABASE=%s;QUIETMODE=YES;" % (my_credentials)
pyodbc.pooling = False
td_conn = pyodbc.connect(td_connstr)

I get an error message:
 File "<stdin>", line 1, in <module>

pyodbc.Error: ('632', '[632] 523 630 (0) (SQLDriverConnect)')

 

I'm using Python 2.7.3, pyodbc version 3.0.7, and version 15.00 of the Teradata drivers.

 

Some of the pages I've already looked at, without finding an answer to my question:

 

https://code.google.com/p/pyodbc/issues/detail?id=146

http://cjgoldsmith.blogspot.com/2011/03/teradata-odbc-python-pyodbc-on-fedora.html

 

Has anyone else seen the above error? If so, did you find a solution?

 

Thanks.

Forums: 

Viewpoint

$
0
0

Can anyone tell me where to find the Viewpoint server IP address and port number once the Viwepoint sevices have been started?
Can't seem to find out how to access Viewpoint config files. Funny, I downloaded the Viewpoint setup and configuration Reference document, and it says to login to the server using http://Viewpoint -- like your suppose to have an entry somewhere that knows what the URL maps to...lol
It would be especially nice to know how they (whoever they are) configured Viewpoint in the TDXpress 15.0 for VMware image. Or at lease provide some documentation on the desktop that tells you the IP address....
Anyone know? Any help please?
I have posted in several forums with no replies...
 

Tags: 
Forums: 

SSIS 2012 and Teradata

$
0
0

I have a package in SSIS 2012 catalog trying to get some data from Teradata DB. The connection is not working for me and I keep getting the error:
ADO.NET Source has failed to acquire the connection with the following error message:
"Could not create a managed connection manager".
This connection works and the package runs from my local desktop but not from the SSIS Catalog. Any ideas why this is happening?
I tried OLEDB, ADO.NET & ODBC connections. None of them work so far. Please help!

Forums: 

Connecting to Teradata using Perl

$
0
0

I am attempting to connect to teradata using Perl.&nbsp; I am not able to get it to connect.&nbsp; We are getting the following error when trying to connect:
/usr/local/bin/perl: symbol lookup error: /usr/local/lib64/perl5/auto/DBD/Teradata/Cli/Cli.so: undefined symbol: DBCHINI

i thought this might be caused by the teradata drivers and looking in 32 bit directories, but i update the following paths and the issue still persists:
export ODBCINI=/opt/teradata/client/14.00/odbc_64/odbc.ini
    export NLSPATH=/opt/teradata/client/14.00/odbc_64/msg/%N.cat
    export LD_LIBRARY_PATH=/opt/teradata/client/14.00/odbc_64/lib
    export ODBC_HOME=/opt/teradata/client/14.00/odbc_64

this is installed on RHEL 6 (64 bit). Does anyone have any ideas? I have done a fair amount of searching and find very little info on dbchini.
 

Forums: 

Unable to get catalog string

$
0
0

We are getting intermittent "Unable to get catalog string" errors when connecting to our Teradata DB via ODBC using Informatica.
We set the NLSPATH but do not get more detailed errors.
Re-running the job once or twice works. But we need to find why this keeps happening.
We are at the latest Teradata ODBC driver as Teradata support suggested.
 

Forums: 

Install of TeradataODBC14.10.16.00 and TeradataODBC15.00.01.00 fails on Yosemite

$
0
0

Hi guys I tried to install both on Yosemite.
Clicked through the wizard (accepting defaults) and it looks like it's on the last step that the installer says the installation failed.
-Hinto

Forums: 

time required to transfer data from hadoop to teradata and vice versa

$
0
0

We have 24nodes 2650 model with 576 amps on 1GB internal LAN connection.
We are planning to have Teradata Hadoop of 17 DATA nodes with 36TB / node on 1GB or 10GB internal LAN Card.
Our client wants to know the speed for transferring data for both directions. It might be during heavy workload of both systems (teradata and TeradataHadoop)
Do we have any benchmark on this?
Lets say, you want to transfer 100GB data from Hadoop to teradata.How much time will it take?
Also from teradata, 100GB data to be transferred to hadoop.How much time will it take?

Hoping to hear reply from you.

Thank you.
Michael Calimag
CS

Forums: 

Is it possible to connect to Teradata from Excel without installing Teradata drivers?

$
0
0

I'm trying to build an Excel self-service tool front end for a Teradata database, but the end users will not have any Teradata drivers installed on their machines.  Is it possible to use a generic ODBC connection, and if so, does someone know what connect string to use for an ADODB recordset?
Thanks

Forums: 

Teradata BTEQ logon with Latin Character SET

$
0
0

Hi All,
 
I am unable to set the Session to Latin.
I am using TD 14 & trying to logon from Unix terminal using below command:
bteq -c Latin1 .logon server/user,pwd
(Note: i am able to set the same for Acii which is default or utf8 using "bteq -c Ascii" or "bteq -c utf8)
 
I referred below links
http://www.info.teradata.com/htmlpubs/DB_TTU_14_00/index.html#page/Interface_Tools/B035_2425_071A/2425ch02.11.24.html
http://www.info.teradata.com/htmlpubs/DB_TTU_14_00/index.html#page/International_Character_Set/B035_1125_111K/ch04.06.03.html#ww13909795
 
Tried using
LATIN1_0A/ LATIN1252_0A/ ASCII-LATIN/ iso8859-1 / L1 with "bteq -c "& none worked.
Also tried logging in using ASCII and then use
.SET SESSION CHARSET 'name'
In both the case, I am facing below error.
 *** CLI error: MTDP: EM_CHARNAME(227): invalid character set name specified.
 *** Return code from CLI is: 227
 *** CLI error: MTDP: EM_CHARNAME(227): invalid character set name specified.
 *** Return code from CLI is: 311
 
Can anyone tell me how to set my TD session to MS Latin1?
 
Thanks
 
 
 

Forums: 
Viewing all 445 articles
Browse latest View live


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