<?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: Error While Downloading A CSV File To A SAS Dataset Using The &amp;quot;Proc Download&amp;quot; Statemen in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907630#M2151</link>
    <description>&lt;P&gt;It would be helpful if you posted your PROC DOWNLOAD SAS log, including how you are pointing to the CSV file to be downloaded. Are you using FILENAME statements for example?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 19:16:40 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-12-12T19:16:40Z</dc:date>
    <item>
      <title>Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statement in SAS Viya</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907540#M2143</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am using the ""Proc Download" Statement in SAS Viya to download a CSV file as a SAS dataset.&lt;/P&gt;&lt;P&gt;I get an error saying: "Download function terminated. The file created may be unstable".&lt;/P&gt;&lt;P&gt;On analysis, I found that it is unable to parse/decode a double hyphen character from the csv file.&lt;/P&gt;&lt;P&gt;Can you pls suggest an option wherein I can force download the csv file or replace that character while downloading.&lt;/P&gt;&lt;P&gt;Thank You....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907540#M2143</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-12T14:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907561#M2144</link>
      <description>&lt;P&gt;Did VIYA introduce a new PROC DOWNLOAD?&lt;/P&gt;
&lt;P&gt;Otherwise I cannot figure out what you actually did.&lt;/P&gt;
&lt;P&gt;PROC DOWNLOAD can be used to move files between a remote SAS session you started with SAS/Connect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It can move datasets or files (like a CSV).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But it has nothing to do with converting a text file, like a CSV file, into a dataset.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907561#M2144</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-12T14:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907562#M2145</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I did not say that I am converting. I said, am downloading a csv file.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:50:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907562#M2145</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-12T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907564#M2146</link>
      <description>&lt;P&gt;You are the one that said you were making a SAS dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use PROC DOWNLOAD to copy a FILE to a FILE.&lt;/P&gt;
&lt;P&gt;Did you use the BINARY option on PROC DOWNLOAD?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise what encoding is being used? In both SAS sessions?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907564#M2146</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-12T14:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907566#M2147</link>
      <description>&lt;P&gt;I am not sure what you are reading and understanding.....anyways.....&lt;/P&gt;&lt;P&gt;I think we all know what Proc Download is used for....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not used the Binary option.&lt;/P&gt;&lt;P&gt;UTF-8 and Latin1 are the encodings used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:59:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907566#M2147</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-12T14:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907568#M2148</link>
      <description>&lt;P&gt;Not all valid UTF-8 characters can be mapped in the limited 256 positions of a single byte encoding like LATIN1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So either fix the file before downloading it to only contain valid LATIN1 characters.&lt;/P&gt;
&lt;P&gt;Or download the file as BINARY and deal with the transcoding on the other side.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:03:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907568#M2148</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-12T15:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907578#M2149</link>
      <description>&lt;P&gt;Downloading file has latin1 encoding and my session has UTF-8 encoding.&lt;/P&gt;&lt;P&gt;So, would downloading the file as Binary work for the above also.&lt;/P&gt;&lt;P&gt;Thanks for your quick response.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907578#M2149</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-12T15:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907579#M2150</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/460638"&gt;@NarutoDP&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Downloading file has latin1 encoding and my session has UTF-8 encoding.&lt;/P&gt;
&lt;P&gt;So, would downloading the file as Binary work for the above also.&lt;/P&gt;
&lt;P&gt;Thanks for your quick response.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, since it will not try to transcode a binary file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only reason why a UTF-8 session would have trouble reading a LATIN1 file would be if it treated the file as UTF-8 and the sequence of bytes was something that was invalid as a UTF-8 character.&amp;nbsp; So you might need to use the ENCODING= option on the INFILE statement that reads the file once you have it copied.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 15:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907579#M2150</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-12T15:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907630#M2151</link>
      <description>&lt;P&gt;It would be helpful if you posted your PROC DOWNLOAD SAS log, including how you are pointing to the CSV file to be downloaded. Are you using FILENAME statements for example?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 19:16:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907630#M2151</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-12-12T19:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907712#M2152</link>
      <description>&lt;P&gt;When I use the Binary option, it throws a warning first and then an error as follows:&lt;/P&gt;&lt;P&gt;Warning: A character that cannot be transcoded was encountered.&lt;/P&gt;&lt;P&gt;Error: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Error: File ....... does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 08:48:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907712#M2152</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-13T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907714#M2153</link>
      <description>&lt;P&gt;Yes, I am using the "filename" statement to point to the csv file that I want to download.&lt;/P&gt;&lt;P&gt;SAS Log:&lt;/P&gt;&lt;P&gt;NOTE: TEXT download in progress from infile=/.../../../../../filename.csv to outfile=datasetname&lt;BR /&gt;NOTE: A byte-order mark in the file "/.../../../../../filename.csv" (for fileref "#LN00009")&lt;BR /&gt;indicates that the data is encoded in "utf-8". This encoding will be used to process the file.&lt;BR /&gt;NOTE: The file datasetname is file filename.csv.&lt;BR /&gt;WARNING: A character that could not be transcoded was encountered.&lt;BR /&gt;ERROR: Download function terminated. The file created may be unusable.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 08:59:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907714#M2153</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-13T08:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907716#M2154</link>
      <description>&lt;P&gt;Just to make sure (ideally share the code and full log!): You are running this on your Viya machine in a rsubmit block, infile= points to your remote server location and outfile= points to a valid path for the client Viya environment. Is that correct? And did you specify binary for the log you shared? ...because with binary there shouldn't be any transcoding errors ....because it's binary.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 09:26:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907716#M2154</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-12-13T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907717#M2155</link>
      <description>&lt;P&gt;When using binary correctly, no transcoding is done. The file is treated as a stream of bytes.&lt;/P&gt;
&lt;P&gt;So it seems you use this incorrectly. Please post the&amp;nbsp;&lt;U&gt;complete&lt;/U&gt; (all code and messages) log of your code, including all FILENAME definitions used in the DOWNLOAD procedure.&lt;/P&gt;
&lt;P&gt;Copy/paste the log text into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Edit sensitive parts after the paste.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Partial logs are not helpful, as messages must be viewed in their context.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 09:30:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907717#M2155</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-12-13T09:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907724#M2156</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) "You are running this on your Viya machine in a rsubmit block, infile= points to your remote server location and outfile= points to a valid path for the client Viya environment. Is that correct?&amp;nbsp;" --- Yes, you are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;And did you specify binary for the log you shared?&amp;nbsp;--- When I specify the binary option, as I have posted for another answer, the error is as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Warning: A character that cannot be transcoded was encountered.&lt;/P&gt;&lt;P&gt;Error: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Error: File ....... does not exist.&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;&lt;SPAN&gt;Just to make sure (ideally share the code and full log!): I understand that it would be helpful if I shared the code and the log but I cannot. Apologies for that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I appreciate you and the other user trying to help me out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 10:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907724#M2156</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-13T10:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907728#M2157</link>
      <description>&lt;P&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;And did you specify binary for the log you shared?&amp;nbsp;--- When I specify the binary option, as I have posted for another answer, the error is as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Warning: A character that cannot be transcoded was encountered.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Error: Invalid Data Length --- Sorry, had missed this one out...........&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Error: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Error: File ....... does not exist.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 11:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907728#M2157</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-13T11:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907729#M2158</link>
      <description>&lt;P&gt;&lt;SPAN&gt;When I specify the binary option, as I have posted for another answer, the error is as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Warning: A character that cannot be transcoded was encountered.&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;Error: Invalid Data Length --- Sorry, had missed this one out...........&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Error: An exception has been encountered.&lt;/P&gt;&lt;P&gt;Error: File ....... does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code: rsubmit; proc download infile = file1 outfile = file2 binary; run; endrsubmit;&lt;/P&gt;&lt;P&gt;Sorry, cannot paste the whole code/log.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 11:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907729#M2158</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-13T11:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907752#M2160</link>
      <description>&lt;P&gt;That is not what a SAS log looks like.&amp;nbsp; The log should include the code and the messages in context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to tell if there is some issue with the PROC DOWNLOAD syntax or if the transcoding is being caused by something that is VIYA specific, perhaps in the FILENAME statement you did not show.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of a SAS log using PROC DOWNLOAD to copy a BINARY file.&lt;/P&gt;
&lt;PRE&gt;798  filename local temp;
799  rsubmit;
NOTE: Remote submit to REMOTE1 commencing.
7      filename remote 'c:\downloads\tables.xlsx';
8      proc download infile=remote outfile=local binary;
9      run;


NOTE: BINARY download in progress from infile=REMOTE to outfile=LOCAL
NOTE: The file LOCAL is file C:\Users\xxx\AppData\Local\Temp\1\SAS Temporary Files\_TD17752_AMRAPY3WVP0VKU0_\#LN00052.
NOTE: Downloaded 49 records and 12523 bytes.
NOTE: 12523 bytes were transferred at 245549 bytes/second.
NOTE: 49 records were written to the file C:\Users\xxx\AppData\Local\Temp\1\SAS Temporary
      Files\_TD17752_AMRAPY3WVP0VKU0_\#LN00052.
      The maximum record length was 256.
      The minimum record length was 235.
NOTE: PROCEDURE DOWNLOAD used (Total process time):
      real time           0.07 seconds
      cpu time            0.00 seconds


NOTE: Remote submit to REMOTE1 complete.
&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Dec 2023 14:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907752#M2160</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-12-13T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907951#M2162</link>
      <description>&lt;P&gt;Please read my post again, particularly the&amp;nbsp;&lt;U&gt;complete&lt;/U&gt; part.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;PARTIAL LOGS ARE NOT HELPFUL.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 21:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907951#M2162</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-12-13T21:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907987#M2163</link>
      <description>&lt;P&gt;I do acknowledge the fact that partial logs are not helpful.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been consistently apologizing and stating that I cannot share the complete code or the complete log.&lt;/P&gt;&lt;P&gt;I hope you have taken note of that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your responses.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 10:29:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907987#M2163</guid>
      <dc:creator>NarutoDP</dc:creator>
      <dc:date>2023-12-14T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error While Downloading A CSV File To A SAS Dataset Using The "Proc Download" Statemen</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907995#M2164</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/460638"&gt;@NarutoDP&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I do acknowledge the fact that partial logs are not helpful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been consistently apologizing and stating that I cannot share the complete code or the complete log.&lt;/P&gt;
&lt;P&gt;I hope you have taken note of that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your responses.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Then you need to narrow down your code so it still shows the issue without disclosing confidential information. This should be possible for a Proc Download. Alternatively and/or complementary you can also post-process the SAS log manually to remove any confidential PII information like IP addresses, credentials, server names etc.&lt;/P&gt;
&lt;P&gt;Without the full (or almost full) log it's really close to impossible to determine why something isn't working as you state even though it should (as Tom demonstrated for a binary download).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If sharing the log is really not possible then I suggest you contact SAS Tech Support where you can disclose more information as it's not public.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 11:39:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-While-Downloading-A-CSV-File-To-A-SAS-Dataset-Using-The/m-p/907995#M2164</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-12-14T11:39:05Z</dc:date>
    </item>
  </channel>
</rss>

