pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aravindh Varadharaju <avaradharaju@shutterfly.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Issue with TPT and Postgresql ODBC Driver
Date: Tue, 29 Sep 2015 22:30:30 +0000
Message-ID: <D2305E71.5704%avaradharaju@shutterfly.com> (raw)
In-Reply-To: <560B09B1.9050204@aklaver.com>
References: <D2302532.5696%avaradharaju@shutterfly.com>
	<560AFBDF.2050907@aklaver.com>
	<D2304D24.56CD%avaradharaju@shutterfly.com>
	<560B0706.60303@aklaver.com>
	<D230553D.56F3%avaradharaju@shutterfly.com>
	<560B09B1.9050204@aklaver.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi

The manager being used is unixODBC.

I made a couple of changes to my ODBC.INI file. Now I am getting the
following error:
—
ODBC_OPERATOR: TPT17101: Fatal error received from ODBC driver:
              STATE=I, CODE=0,
              MSG='['
—

ODBC.INI

[OPDB3]
Driver=/var/odbc/usr/lib64/psqlodbc.so
Description=PostgresSQL Connection to OPDB
Database=<DB Name>
HostName=<Host Name>
LogonID=
MaxPoolSize=100
MinPoolSize=0
PortNumber=<Port Number>
--





Aravindh Varadharaju  |  DevOps Engineer
avaradharaju@shutterfly.com  |o. 650.610.5173 | m. 812.369.3537








On 9/29/15, 2:59 PM, "Adrian Klaver" <adrian.klaver@aklaver.com> wrote:

>On 09/29/2015 02:53 PM, Aravindh Varadharaju wrote:
>> Hi Adrian
>>
>
>CCing list.
>
>> I am not quite sure about that. But I have iODBC set up on the server.
>>So
>> I think that we use iODBC manager.
>
>Probably worth finding out as your original report had:
>
>  MSG='[DataDirect][ODBC lib] Unicode converter truncated character’
>
>DataDirect would be from Progress, if I am following correctly. So
>either the driver you are using is the Progress one or the manager is.
>
>
>>
>> Aravindh Varadharaju  |  DevOps Engineer
>> avaradharaju@shutterfly.com  |o. 650.610.5173 | m. 812.369.3537
>>
>>
>>
>>
>>
>>
>>
>>
>> On 9/29/15, 2:47 PM, "Adrian Klaver" <adrian.klaver@aklaver.com> wrote:
>>
>>> On 09/29/2015 02:23 PM, Aravindh Varadharaju wrote:
>>>> Hi Adrian
>>>>
>>>>
>>>> My TPT script is used to copy a table from Postgres to Teradata. My
>>>> ODBC.INI was not quite right. So I fixed the ODBC.INI but could not
>>>>get
>>>> it
>>>> work with TPT.
>>>
>>> What is your ODBC manager?
>>>
>>>>
>>>> This is my ODBC setup:
>>>> --
>>>> [ODBC Data Sources]
>>>> OPDB=PostgresSQL Connection to OPDB
>>>>
>>>>
>>>> [OPDB]
>>>> Driver=/var/odbc/usr/lib64/psqlodbcw.so
>>>> Description=PostgresSQL Connection to OPDB
>>>> Database=<Database Name>
>>>> HostName=<Host Name>
>>>> LogonID=opdb_read
>>>> MaxPoolSize=100
>>>> MinPoolSize=0
>>>> PortNumber=5432
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>> Aravindh Varadharaju  |  DevOps Engineer
>>>> avaradharaju@shutterfly.com  |o. 650.610.5173 | m. 812.369.3537
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 9/29/15, 2:00 PM, "Adrian Klaver" <adrian.klaver@aklaver.com>
>>>>wrote:
>>>>
>>>>> On 09/29/2015 11:23 AM, Aravindh Varadharaju wrote:
>>>>>> Hi
>>>>>>
>>>>>> I am trying to use Postgresql ODBC Unicode Driver to pull data from
>>>>>> Postgres Database into Teradata through Teradata Parallel
>>>>>>Transporter.
>>>>>> When I run the TPT scripts it is throwing an error as shown below:
>>>>>> --
>>>>>> ODBC_OPERATOR: TPT17101: Fatal error received from ODBC driver:
>>>>>>                  STATE=S1000, CODE=0,
>>>>>>                  MSG='[DataDirect][ODBC lib] Unicode converter
>>>>>> truncated
>>>>>> character¹
>>>>>
>>>>> Looks like you are still using DataDirect.
>>>>>
>>>>> Can you supply more information on how your ODBC is setup?
>>>>>
>>>>> Also what the TPT script is doing?
>>>>>
>>>>>>
>>>>>> ‹
>>>>>> The same script is working with Postgresql driver from Progress.
>>>>>>
>>>>>> Can you give me a hint or point me in the right direction to get
>>>>>>this
>>>>>> resolved?
>>>>>>
>>>>>> *Aravindh Varadharaju*  |  DevOps Engineer
>>>>>>
>>>>>> _avaradharaju@shutterfly.com_  |o. 650.610.5173 | m. 812.369.3537
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Adrian Klaver
>>>>> adrian.klaver@aklaver.com
>>>>
>>>
>>>
>>> --
>>> Adrian Klaver
>>> adrian.klaver@aklaver.com
>>
>
>
>-- 
>Adrian Klaver
>adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc


view thread (7+ messages)  latest in thread

Message-ID: <D2305E71.5704%avaradharaju@shutterfly.com>
Permalink:  ../D2305E71.5704%25avaradharaju@shutterfly.com/
Also on:    postgresql.org/message-id/D2305E71.5704%avaradharaju@shutterfly.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: avaradharaju@shutterfly.com, adrian.klaver@aklaver.com
  Subject: Re: Issue with TPT and Postgresql ODBC Driver
  In-Reply-To: <D2305E71.5704%avaradharaju@shutterfly.com>
  References: <D2302532.5696%avaradharaju@shutterfly.com> <560AFBDF.2050907@aklaver.com> <D2304D24.56CD%avaradharaju@shutterfly.com> <560B0706.60303@aklaver.com> <D230553D.56F3%avaradharaju@shutterfly.com> <560B09B1.9050204@aklaver.com> <D2305E71.5704%avaradharaju@shutterfly.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox