<?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: Move a SAS created CSV to Azure Blob Storage in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Move-a-SAS-created-CSV-to-Azure-Blob-Storage/m-p/816096#M322083</link>
    <description>&lt;P&gt;Looks like that page is describing how to create a FILEREF that points to the blob storage.&lt;/P&gt;
&lt;P&gt;So try doing that first.&amp;nbsp; In this example from that page the fileref they are using is literally FILEREF, but it can be any valid SAS name of 8 characters or less,&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* example ;
filename fileref abs "blob-file-name" ... &amp;lt;more-code&amp;gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then use the FILEREF in the PROC EXPORT code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;... OUTFILE= fileref ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 01 Jun 2022 19:26:06 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2022-06-01T19:26:06Z</dc:date>
    <item>
      <title>Move a SAS created CSV to Azure Blob Storage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-a-SAS-created-CSV-to-Azure-Blob-Storage/m-p/816089#M322081</link>
      <description>&lt;P&gt;I have a dataset that I have converted to a CSV file. (No issues). However, I cannot figure out how to send this file to an Azure Blob Storage container with public access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use the following:&lt;/P&gt;&lt;P&gt;LIBNAME UPLOAD '&amp;lt;location of the dataset&amp;gt;' ;&lt;/P&gt;&lt;P&gt;PROC EXPORT DATA UPLOAD.&amp;lt;dataset&amp;gt;&lt;/P&gt;&lt;P&gt;DBMS=CSV&lt;/P&gt;&lt;P&gt;OUTFILE= "&amp;lt;Blob Storage URL&amp;gt;..csv" REPLACE ;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an&amp;nbsp;ERROR: A component of &amp;lt;outfile&amp;gt; is not a directory. Obviously, the outfile method is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have reviewed this, but not sure how this works:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/v_027/lestmtsglobal/p1arsjiowdszd8n1qk8mqg5p2uhv.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/v_027/lestmtsglobal/p1arsjiowdszd8n1qk8mqg5p2uhv.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All I need to do, is save the CSV in the Blob Storage. From there an ADF pipeline will do the rest, but I cannot figure out how to save it in the Blob storage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 19:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-a-SAS-created-CSV-to-Azure-Blob-Storage/m-p/816089#M322081</guid>
      <dc:creator>jcromwell77</dc:creator>
      <dc:date>2022-06-01T19:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Move a SAS created CSV to Azure Blob Storage</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Move-a-SAS-created-CSV-to-Azure-Blob-Storage/m-p/816096#M322083</link>
      <description>&lt;P&gt;Looks like that page is describing how to create a FILEREF that points to the blob storage.&lt;/P&gt;
&lt;P&gt;So try doing that first.&amp;nbsp; In this example from that page the fileref they are using is literally FILEREF, but it can be any valid SAS name of 8 characters or less,&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;* example ;
filename fileref abs "blob-file-name" ... &amp;lt;more-code&amp;gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then use the FILEREF in the PROC EXPORT code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;... OUTFILE= fileref ...&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Jun 2022 19:26:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Move-a-SAS-created-CSV-to-Azure-Blob-Storage/m-p/816096#M322083</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-06-01T19:26:06Z</dc:date>
    </item>
  </channel>
</rss>

