<?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: Issue in transferring files by using azcopy from SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-transferring-files-by-using-azcopy-from-SAS/m-p/786280#M251017</link>
    <description>&lt;P&gt;The SYSTEM function expects a single character value as parameter, you are trying to feed it what SAS sees as an expression with missing operators.&lt;/P&gt;
&lt;P&gt;Your call should look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rc = system("azcopy copy source_directory/file_name.csv SAS_token options");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 11:54:28 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-12-16T11:54:28Z</dc:date>
    <item>
      <title>Issue in transferring files by using azcopy from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-transferring-files-by-using-azcopy-from-SAS/m-p/786276#M251015</link>
      <description>&lt;P&gt;Dear All,&lt;BR /&gt;I am trying to transfer csv files into Azure datalake storage by using Azcopy from a SAS program but this is not working.&lt;BR /&gt;If am exciting the same azcopy command directly command prompt the files are transferring successfully.&lt;BR /&gt;So this issue is only when i call azcopy command from SAS.&lt;BR /&gt;&lt;BR /&gt;rc = system ("azcopy copy "source_directory/file_name.csv" "SAS_token" options;" );&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 388-185: Expecting an arithmetic operator.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 202-322: The option or parameter is not recognized and will be ignored.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, (, *, **, +, ',', -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;&amp;lt;, &amp;gt;=, AND, EQ, GE,&lt;BR /&gt;GT, LE, LT, MAX, MIN, NE, NG, NL, OR, [, ^=, {, |, ||, ~=.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 390-185: Expecting an relational or arithmetic operator.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;&lt;P&gt;NOTE: Character values have been converted to numeric values at the places given by: (Line):(Column).&lt;BR /&gt;52:2&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 11:09:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-transferring-files-by-using-azcopy-from-SAS/m-p/786276#M251015</guid>
      <dc:creator>Anu123</dc:creator>
      <dc:date>2021-12-16T11:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in transferring files by using azcopy from SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-transferring-files-by-using-azcopy-from-SAS/m-p/786280#M251017</link>
      <description>&lt;P&gt;The SYSTEM function expects a single character value as parameter, you are trying to feed it what SAS sees as an expression with missing operators.&lt;/P&gt;
&lt;P&gt;Your call should look like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;rc = system("azcopy copy source_directory/file_name.csv SAS_token options");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 11:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-transferring-files-by-using-azcopy-from-SAS/m-p/786280#M251017</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-12-16T11:54:28Z</dc:date>
    </item>
  </channel>
</rss>

