<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ERROR: Teradata prepare: Object  does not exist. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495307#M130696</link>
    <description>&lt;P&gt;You need to show more of the log.&lt;/P&gt;
&lt;P&gt;Did the PROC APPEND step really create the table in Teradata?&lt;/P&gt;
&lt;P&gt;Are your connection strings between your LIBNAME and CONNECT statement actually the same? If not then SAS will make a NEW connection to Teradata and not be able to see the temporary table.&lt;/P&gt;
&lt;P&gt;Are you using a different account in Teradata between the two different runs? Perhaps they have different permissions in Teradata.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2018 14:30:20 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-09-13T14:30:20Z</dc:date>
    <item>
      <title>ERROR: Teradata prepare: Object  does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/494894#M130503</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using libname to create temp table and using it with proc sql to access it.&lt;/P&gt;&lt;P&gt;I am able to run the code on SAS EG but it is hitting the error on UNIX that&amp;nbsp;Teradata prepare: Object 'migrated_201401' does not exist.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%let tag_value=migrated_201401;&lt;BR /&gt;options sastrace=',,,d' sastraceloc=saslog;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;libname mytd teradata user=&amp;amp;user. password=&amp;amp;password. tdpid=edwprod connection=global dbmstemp=yes mode=teradata dbcommit=0;&lt;/P&gt;&lt;P&gt;proc delete data=mytd.&amp;amp;tag_value.; run;&lt;/P&gt;&lt;P&gt;proc append data = only_cl_tids_migrated base = mytd.&amp;amp;tag_value. (tpt=no dbcommit=5000) force; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;reset INOBS = max OUTOBS = max LOOPS = MAX NOFLOW NOFEEDBACK NOPROMPT NONUMBER;&lt;BR /&gt;connect to teradata(tdpid = edwprod database = consumer user =&amp;amp;user. password=&amp;amp;password. connection=global);&lt;BR /&gt;create table test as&lt;BR /&gt;select * from connection to teradata&lt;BR /&gt;(&lt;BR /&gt;select a.*,&lt;BR /&gt;b.*&lt;BR /&gt;&lt;BR /&gt;from &amp;amp;tag_value. a&lt;BR /&gt;join tag_tbl b /* table present on my teradata system*/&lt;BR /&gt;on a.acct= b.acct&lt;BR /&gt;);&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;ERROR: Teradata prepare: Object 'migrated_201401' does not exist. SQL statement was:&lt;/P&gt;&lt;P&gt;Please provide some guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 15:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/494894#M130503</guid>
      <dc:creator>deepakkailay</dc:creator>
      <dc:date>2018-09-12T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata prepare: Object  does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495254#M130665</link>
      <description>&lt;P&gt;i think you are not referencing Teradata database name and your just mentioning table name and hence it is looking for a volatile table(kind of work table in SAS). You need to have proper database name in front of &amp;amp;&lt;SPAN&gt;tag_value, something like yourdatabase..&amp;amp;tag_value.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 12:29:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495254#M130665</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-09-13T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata prepare: Object  does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495304#M130694</link>
      <description>&lt;P&gt;Thanks for the reply, actually I am creating the this tag table with proc append by using library(bridge with teradata).&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is no need to use libname here. same code is working fine on SAS EG but it is not working on UNIX.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495304#M130694</guid>
      <dc:creator>deepakkailay</dc:creator>
      <dc:date>2018-09-13T14:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata prepare: Object  does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495307#M130696</link>
      <description>&lt;P&gt;You need to show more of the log.&lt;/P&gt;
&lt;P&gt;Did the PROC APPEND step really create the table in Teradata?&lt;/P&gt;
&lt;P&gt;Are your connection strings between your LIBNAME and CONNECT statement actually the same? If not then SAS will make a NEW connection to Teradata and not be able to see the temporary table.&lt;/P&gt;
&lt;P&gt;Are you using a different account in Teradata between the two different runs? Perhaps they have different permissions in Teradata.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2018 14:30:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495307#M130696</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-09-13T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Teradata prepare: Object  does not exist.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495622#M130841</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help. I just added database= options with libname and specified the database that I am using below with the proc sql. it worked fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2018 10:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Teradata-prepare-Object-does-not-exist/m-p/495622#M130841</guid>
      <dc:creator>deepakkailay</dc:creator>
      <dc:date>2018-09-14T10:41:02Z</dc:date>
    </item>
  </channel>
</rss>

