<?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: Exection Teradata Stored procedure from SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700940#M214579</link>
    <description>&lt;P&gt;Just a hunch, does the procedure "stream" output?&lt;/P&gt;
&lt;P&gt;If so, that will probably clash with how SAS EXECUTE blocks works.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 15:51:58 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2020-11-23T15:51:58Z</dc:date>
    <item>
      <title>Exection Teradata Stored procedure from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700930#M214569</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to execute the teradata stored procedure in sas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname a teradata user =xx pwd =xxxx server=xxxx db=MNO connection=shared;
proc sql;
connect using a;
execute (call MNO.procedure('202010',0);) by a;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I've followed changes as shown below&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ODBC ADministrator --&amp;gt; Configure --&amp;gt; Options --&amp;gt; Session Mode (Selected ANSI)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting below error:&lt;/P&gt;&lt;P&gt;Error:Teradata execute:Invlid Session mode for Procedure execution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can some help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;VNKY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700930#M214569</guid>
      <dc:creator>Venky22</dc:creator>
      <dc:date>2020-11-23T15:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Exection Teradata Stored procedure from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700940#M214579</link>
      <description>&lt;P&gt;Just a hunch, does the procedure "stream" output?&lt;/P&gt;
&lt;P&gt;If so, that will probably clash with how SAS EXECUTE blocks works.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 15:51:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700940#M214579</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2020-11-23T15:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exection Teradata Stored procedure from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700978#M214599</link>
      <description>&lt;P&gt;What procedure does is :&lt;/P&gt;&lt;P&gt;It cretes tables with 202010 data and eports to an excel file. After the data is being populated Business Objects will use those tables to generate the report.&lt;/P&gt;&lt;P&gt;Currently&amp;nbsp; we are manually triggering each procedure(there are around 20 procedures) and create tables.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 17:08:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/700978#M214599</guid>
      <dc:creator>Venky22</dc:creator>
      <dc:date>2020-11-23T17:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exection Teradata Stored procedure from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/701028#M214610</link>
      <description>&lt;P&gt;There are two modes you can specify with Teradata: ANSI (default) and TERADATA. I suggest you try MODE = TERADATA on your LIBNAME statement:&amp;nbsp;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=acreldb&amp;amp;docsetTarget=n0tfqr5qd1ryizn1hkohz7fs1g3k.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=acreldb&amp;amp;docsetTarget=n0tfqr5qd1ryizn1hkohz7fs1g3k.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 20:00:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exection-Teradata-Stored-procedure-from-SAS/m-p/701028#M214610</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-11-23T20:00:41Z</dc:date>
    </item>
  </channel>
</rss>

