<?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: Bulkload with Redshift in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469663#M3250</link>
    <description>&lt;P&gt;You may not have access to create tables or your giving the wrong credentials. Are you using the below code or if something different please post your code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace=',,,ds' sastraceloc=saslog nostsuffix;

libname libred redshift server=rsserver db=rsdb user=myuserID pwd=myPwd port=5439;

data libred.myclass(
   bulkload=yes
      bl_bucket=myBucket
      bl_key=99999
      bl_secret=12345
      bl_default_dir='/tmp'
      bl_region='us-east-1');
   set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Jun 2018 16:05:12 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2018-06-12T16:05:12Z</dc:date>
    <item>
      <title>Bulkload with Redshift</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469656#M3249</link>
      <description>&lt;P&gt;Does anyone know what this error is about?&lt;/P&gt;&lt;P&gt;I am trying to use SAS Bulkload to write a dataset to Redshift. It is able to create the dataset but throws&amp;nbsp;&lt;SPAN&gt;ERROR: Message from TKS3: Access Denied error at the end so table is not getting written to Redshift.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: There were 10 observations read from the data set SASHELP.CLASS.&lt;BR /&gt;NOTE: The data set AWSWRITE.RDBULKTEST3 has 10 observations and 5 variables.&lt;BR /&gt;REDSHIFT: Bulkload seconds used for writes: 0.000179&lt;BR /&gt;REDSHIFT: Bulkload seconds used for file close: 0.001464&lt;BR /&gt;REDSHIFT: Bulkload seconds used for file delete: 0.163959&lt;BR /&gt;REDSHIFT: Bulkload total seconds used: 0.167681&lt;BR /&gt;&lt;BR /&gt;Summary Statistics for REDSHIFT are:&lt;BR /&gt;Total SQL execution seconds were: 0.093207&lt;BR /&gt;Total SQL prepare seconds were: 0.001904&lt;BR /&gt;Total seconds used by the REDSHIFT ACCESS engine were 0.263587&lt;BR /&gt;&lt;BR /&gt;ERROR: Message from TKS3: Access Denied&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.32 seconds&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 15:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469656#M3249</guid>
      <dc:creator>Matt</dc:creator>
      <dc:date>2018-06-12T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bulkload with Redshift</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469663#M3250</link>
      <description>&lt;P&gt;You may not have access to create tables or your giving the wrong credentials. Are you using the below code or if something different please post your code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace=',,,ds' sastraceloc=saslog nostsuffix;

libname libred redshift server=rsserver db=rsdb user=myuserID pwd=myPwd port=5439;

data libred.myclass(
   bulkload=yes
      bl_bucket=myBucket
      bl_key=99999
      bl_secret=12345
      bl_default_dir='/tmp'
      bl_region='us-east-1');
   set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Jun 2018 16:05:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469663#M3250</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-06-12T16:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bulkload with Redshift</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469745#M3251</link>
      <description>&lt;P&gt;I am using the same code with correct access key and secrete access keys, and have access to create table or write to bucket - this is all verified by writing to bucket from the server and writing a table to redshift schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469745#M3251</guid>
      <dc:creator>Matt</dc:creator>
      <dc:date>2018-06-12T20:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Bulkload with Redshift</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469747#M3252</link>
      <description>&lt;P&gt;Here is my code if that makes any difference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options sastrace=',,,ds' sastraceloc=saslog nostsuffix;&lt;/P&gt;&lt;P&gt;LIBNAME AWSWRITE SASIORST DATABASE="midasdr-test2-rs" SERVER="XXXXXXXXXXXXXXXXXX"&lt;BR /&gt;SCHEMA=saswork USER=saswork PASSWORD="XXXXXX" PORT=5439;&lt;/P&gt;&lt;P&gt;data AWSWRITE.rdbulktest3(&lt;BR /&gt;bulkload=yes&lt;BR /&gt;bl_bucket='maxuwjna'&lt;BR /&gt;bl_key='XXXXXXXXXXXXXXXXXXXXX'&lt;BR /&gt;bl_secret='XXXXXXXXXXXXXXXXXXX'&lt;BR /&gt;bl_default_dir='/tmp'&lt;BR /&gt;bl_region='us-east-1'&lt;BR /&gt;bl_use_ssl=yes);&lt;BR /&gt;set sashelp.class(obs=10);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/469747#M3252</guid>
      <dc:creator>Matt</dc:creator>
      <dc:date>2018-06-12T20:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bulkload with Redshift</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/470173#M3253</link>
      <description>&lt;P&gt;The issue was the keys. Keys were belong to a different user than the user id I was using in my libname. Make sure your AWS admin provides the key for the user that you are using in SAS to Redshift connectivity since that ID is being used to copy the data from S3 bucket to Redshift schema.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 02:55:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Bulkload-with-Redshift/m-p/470173#M3253</guid>
      <dc:creator>Matt</dc:creator>
      <dc:date>2018-06-14T02:55:55Z</dc:date>
    </item>
  </channel>
</rss>

