<?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: Proc append with DBCREATE_TABLE_OPTS option in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/344640#M10244</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/44467"&gt;@AravindPalanichamy&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use PROC APPEND to load data into Teradata. I have written a paper which will help explain all this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/EffectivelyMovingSASDataintoTeradata.pdf" target="_self"&gt;Effectively Moving SAS Data into Teradata - Jeff Bailey&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This paper may help, too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/142-2011.pdf" target="_self"&gt;Teradata Parallel Transporter: Loading Your SAS® Data Just Became Easier - Jeff Bailey&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gist of this is that non-TPT multi-load actually invokes&amp;nbsp;the Teradata multiload utility via a shell command. This is why you are seeing this error message:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this one...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR: Native Multiload could not be invoked. Verify that Multiload can be invoked outside of SAS.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These errors mean that SAS is not allowed, or not allowing your session, to kick off this utility. Your SAS admin may be able to help you with this. If they won't allow the shell command to run, then TPT Multiload could be used. It doesn't require running the Multiload utility.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2017 15:10:07 GMT</pubDate>
    <dc:creator>JBailey</dc:creator>
    <dc:date>2017-03-27T15:10:07Z</dc:date>
    <item>
      <title>Proc append with DBCREATE_TABLE_OPTS option</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/344334#M10243</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could any one confirm whether we can use proc append statement to load data in to Teradata. Is this the right way to do, can we use dbcreate_table_opts option in proc append or it is only dataset option. One of user getting the following two errors when using proc append with db clause. Is this the right way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;33769 /*---- Loading with Multiload ----*/&lt;BR /&gt;33770 %put %str(NOTE: Appending data ...);&lt;BR /&gt;33771 &lt;BR /&gt;33772 proc append base = dev.ipact_job_journal(DBCREATE_TABLE_OPTS = 'primary index NONAME1&lt;BR /&gt;33772 ! ("job_name","output_table","step_num","step_start_date","step_start_time","user_name") '&lt;BR /&gt;21828 The SAS System 13:29 Thursday, March 16, 2017&lt;/P&gt;
&lt;P&gt;33773 MULTILOAD = YES TPT = NO )&lt;BR /&gt;33774 data = &amp;amp;etls_lastTable (&amp;amp;etls_tableOptions) force;&lt;BR /&gt;33775 run;&lt;BR /&gt;33776 &lt;BR /&gt;33777 %rcSet(&amp;amp;syserr);&lt;BR /&gt;33778 &lt;BR /&gt;33779 %mend etls_loader;&lt;BR /&gt;33780 %etls_loader;&lt;BR /&gt;NOTE: Appending data ...&lt;BR /&gt;MPRINT(ETLS_LOADER): proc append base = dev.ipact_job_journal(DBCREATE_TABLE_OPTS = 'primary index NONAME1 &lt;BR /&gt;("job_name","output_table","step_num","step_start_date","step_start_time","user_name") ' MULTILOAD = YES TPT = NO ) data = &lt;BR /&gt;WORK.W3H7X1P () force;&lt;BR /&gt;MPRINT(ETLS_LOADER): run;&lt;/P&gt;
&lt;P&gt;NOTE: Appending WORK.W3H7X1P to DEV.ipact_job_journal.&lt;BR /&gt;&lt;STRONG&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: There were 1 observations read from the data set WORK.W3H7X1P.&lt;BR /&gt;NOTE: 0 observations added.&lt;BR /&gt;NOTE: The data set DEV.ipact_job_journal has . observations and 7 variables.&lt;BR /&gt;&lt;STRONG&gt;ERROR: Native Multiload could not be invoked. Verify that Multiload can be invoked outside of SAS.&lt;/STRONG&gt;&lt;BR /&gt;NOTE: Statements not processed because of errors noted above.&lt;BR /&gt;NOTE: PROCEDURE APPEND used (Total process time):&lt;BR /&gt; real time 0.24 seconds&lt;BR /&gt; cpu time 0.02 seconds&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 20:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/344334#M10243</guid>
      <dc:creator>AravindPalanichamy</dc:creator>
      <dc:date>2017-03-25T20:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc append with DBCREATE_TABLE_OPTS option</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/344640#M10244</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/44467"&gt;@AravindPalanichamy&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use PROC APPEND to load data into Teradata. I have written a paper which will help explain all this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/EffectivelyMovingSASDataintoTeradata.pdf" target="_self"&gt;Effectively Moving SAS Data into Teradata - Jeff Bailey&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This paper may help, too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings11/142-2011.pdf" target="_self"&gt;Teradata Parallel Transporter: Loading Your SAS® Data Just Became Easier - Jeff Bailey&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The gist of this is that non-TPT multi-load actually invokes&amp;nbsp;the Teradata multiload utility via a shell command. This is why you are seeing this error message:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And this one...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;ERROR: Native Multiload could not be invoked. Verify that Multiload can be invoked outside of SAS.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These errors mean that SAS is not allowed, or not allowing your session, to kick off this utility. Your SAS admin may be able to help you with this. If they won't allow the shell command to run, then TPT Multiload could be used. It doesn't require running the Multiload utility.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/344640#M10244</guid>
      <dc:creator>JBailey</dc:creator>
      <dc:date>2017-03-27T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Proc append with DBCREATE_TABLE_OPTS option</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/431420#M13366</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/51161"&gt;@JBailey&lt;/a&gt;&amp;nbsp;for your response on this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have been noticing these errors have been showing up on our deployed jobs recently.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR: Native Multiload could not be invoked.&amp;nbsp; Verify that Multiload can be invoked outside of SAS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wondering if you are aware of the steps to troubleshoot and correct this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any information on these errors would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&amp;nbsp;&lt;BR /&gt;Kris.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 19:27:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Proc-append-with-DBCREATE-TABLE-OPTS-option/m-p/431420#M13366</guid>
      <dc:creator>Kris_Mr_lee</dc:creator>
      <dc:date>2018-01-26T19:27:27Z</dc:date>
    </item>
  </channel>
</rss>

