Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Zh2vx-0002OW-Oe for pgsql-odbc@arkaria.postgresql.org; Tue, 29 Sep 2015 21:59:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Zh2vx-0007h6-A7 for pgsql-odbc@arkaria.postgresql.org; Tue, 29 Sep 2015 21:59:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zh2va-0007I0-MI for pgsql-odbc@postgresql.org; Tue, 29 Sep 2015 21:59:14 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Zh2vY-0002qo-7R for pgsql-odbc@postgresql.org; Tue, 29 Sep 2015 21:59:13 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 072C4207F9 for ; Tue, 29 Sep 2015 17:59:11 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 29 Sep 2015 17:59:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=AwsQGkRFJHo5Tf/8YliiiGoXxM8=; b=LUZY4x KYD+Up0fadd0ZFstQm6hFCkclY7S1/qqWU7vI5WFA6hVsklCZLoCvPPw5+OiJmnN XyGwFJvD87UCbniOhJVnNx1Q+FRQWjJoT7x0kLXr8EbLnPTpJxa3IIhcS4Rex+jw J0S4l0/PYEmqG3oiMmS078WtJiFE9zj4bt+9Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=AwsQGkRFJHo5Tf/ 8YliiiGoXxM8=; b=a43YLV2dZGGpBCo4JHmqCO2syCM6HDu9Qor+CQDeBSeeTtj zFOHBiAwqM1h9sJs+UNnauaC61ZY5Jp4wES5gvZ8oCtAKnyuAW86rLldFcHiRmCf oXocHj7CZI6xcaTF0OfhyjSN+IAFErnGLYIWrzB++dwA+bIgWr3wcP5WFJEU= X-Sasl-enc: nmu0CNyJa3K9CFy82uJNz9S7BZ48TSKwKsHO6cs5odir 1443563950 Received: from killi.site (c-24-17-179-185.hsd1.wa.comcast.net [24.17.179.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 7A5A568013B; Tue, 29 Sep 2015 17:59:10 -0400 (EDT) Subject: Re: Issue with TPT and Postgresql ODBC Driver To: Aravindh Varadharaju References: <560AFBDF.2050907@aklaver.com> <560B0706.60303@aklaver.com> Cc: "pgsql-odbc@postgresql.org" From: Adrian Klaver Message-ID: <560B09B1.9050204@aklaver.com> Date: Tue, 29 Sep 2015 14:59:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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" 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= >>> HostName= >>> 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" 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