<?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: Somehow sas files are being downloaded as a .pdf file in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890844#M39623</link>
    <description>&lt;P&gt;When I tried to download a SAS file named&amp;nbsp; &amp;nbsp;sample-1.sas7bdat&amp;nbsp; , (this is what I meant by sas file)&lt;/P&gt;&lt;P&gt;which contains my school&amp;nbsp; sample SAS file, upon downloading the file from my university it shows pdf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The association for this .sas file type somehow by mistake was changed to .pdf, but I am, unable to remove the file type of .pdf back to .sas file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ykassoo_0-1692898583423.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87029iCD396A44EAD0C256/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ykassoo_0-1692898583423.png" alt="ykassoo_0-1692898583423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now since the systems sees it as a .pdf file , I am unable to open it in SAS program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Thu, 24 Aug 2023 17:39:13 GMT</pubDate>
    <dc:creator>ykassoo</dc:creator>
    <dc:date>2023-08-24T17:39:13Z</dc:date>
    <item>
      <title>Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890837#M39621</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow any time I download a sample sas file it is being saved in a folder as a .pdf file. How can I remove the pdf association for sas type files upon downloading them? .&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890837#M39621</guid>
      <dc:creator>ykassoo</dc:creator>
      <dc:date>2023-08-24T17:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890839#M39622</link>
      <description>&lt;P&gt;What was the file extension before you downloaded it? Where did you download it from?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is unlikely that you can change a pdf file to a "SAS file", although I'm not really sure what you mean by "SAS file" and it would help if you explained what you mean.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890839#M39622</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-08-24T17:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890844#M39623</link>
      <description>&lt;P&gt;When I tried to download a SAS file named&amp;nbsp; &amp;nbsp;sample-1.sas7bdat&amp;nbsp; , (this is what I meant by sas file)&lt;/P&gt;&lt;P&gt;which contains my school&amp;nbsp; sample SAS file, upon downloading the file from my university it shows pdf file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The association for this .sas file type somehow by mistake was changed to .pdf, but I am, unable to remove the file type of .pdf back to .sas file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ykassoo_0-1692898583423.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87029iCD396A44EAD0C256/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ykassoo_0-1692898583423.png" alt="ykassoo_0-1692898583423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now since the systems sees it as a .pdf file , I am unable to open it in SAS program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 17:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890844#M39623</guid>
      <dc:creator>ykassoo</dc:creator>
      <dc:date>2023-08-24T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890868#M39624</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/448966"&gt;@ykassoo&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now since the systems sees it as a .pdf file , I am unable to open it in SAS program.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not agree with this. You should be able to open it in SAS with the proper SAS commands in a short SAS program. What happens when you try to open it in SAS via a SAS program? Please provide details about how you try to open it in SAS via a SAS program, and what happened/what error messages did you get?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 18:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890868#M39624</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-08-24T18:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890870#M39625</link>
      <description>&lt;P&gt;You normally do not "open" a SAS dataset.&lt;/P&gt;
&lt;P&gt;Instead you just USE it.&lt;/P&gt;
&lt;P&gt;If you downloaded the SAS dataset to a file named 'sample_1.sas7bdat' and stored it in a directory on the machine where SAS is running then just make a libref that points to that directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you are running SAS on your PC and you put the file into c:\downloads then the code would look something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname dl 'c:\downloads';
proc contents data=dl.sample_1 ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the filename is not a valid SAS member name, like your example with the hyphen in the name, then you probably do not actually have a SAS dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you could try renaming it and see if it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So change the hyphen or any other strange character to underscore.&amp;nbsp; Also make sure all of the letters in the filename are lowercase (just in case you are running SAS on a Unix machine).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 18:38:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890870#M39625</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-08-24T18:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890943#M39629</link>
      <description>&lt;P&gt;What happens, if you double-click the file? Can it be displayed properly by Acrobat Reader?&lt;/P&gt;
&lt;P&gt;Please note, that there is a huge difference between the file extensions sas7bat and sas. The first contain data, the later code.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:12:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890943#M39629</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2023-08-25T08:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890945#M39630</link>
      <description>&lt;P&gt;Someone (or something) changed the&amp;nbsp;&lt;EM&gt;association&lt;/EM&gt; in Windows to "Acrobat Reader", but the file is still a .sas7bdat SAS dataset file (no pdf here in any way).&lt;/P&gt;
&lt;P&gt;Anywhere where you have a SAS installation, you can use this in the usual way (assign a LIBNAME in code and use it). Don't bother what Windows Explorer thinks.&lt;/P&gt;
&lt;P&gt;You can change the association in Windows Explorer if you have a suitable application (Base SAS or SAS Universal Viewer) installed.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 08:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890945#M39630</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-25T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890949#M39631</link>
      <description>On windows you can always change it. There are multiple ways to change the default program that opens a sas7bdat-file (or any other extension). See for example: &lt;A href="https://support.microsoft.com/en-us/windows/change-default-programs-in-windows-e5d82cad-17d1-c53b-3505-f10a32e1894d#ID0EDD=Windows_10" target="_blank"&gt;https://support.microsoft.com/en-us/windows/change-default-programs-in-windows-e5d82cad-17d1-c53b-3505-f10a32e1894d#ID0EDD=Windows_10&lt;/A&gt;</description>
      <pubDate>Fri, 25 Aug 2023 09:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/890949#M39631</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-08-25T09:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/891057#M39632</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3492"&gt;@JosvanderVelden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;On windows you can always change it. There are multiple ways to change the default program that opens a sas7bdat-file (or any other extension). See for example: &lt;A href="https://support.microsoft.com/en-us/windows/change-default-programs-in-windows-e5d82cad-17d1-c53b-3505-f10a32e1894d#ID0EDD=Windows_10" target="_blank" rel="noopener"&gt;https://support.microsoft.com/en-us/windows/change-default-programs-in-windows-e5d82cad-17d1-c53b-3505-f10a32e1894d#ID0EDD=Windows_10&lt;/A&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Back in the days of Windows 7, IIRC, I had one of our IT "experts" change some SAS file associations using Window tools. They never worked right again until I update to the next release of SAS. Just a warning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And now I am not allowed to run the proper SAS program, SAS Deployment Manager and the Manage SAS files task because of security issues. I would have to have one of the IT people run it and tell them what to do...&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 16:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/891057#M39632</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-08-25T16:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Somehow sas files are being downloaded as a .pdf file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/894793#M39785</link>
      <description>&lt;P&gt;Thanks for the response.&amp;nbsp; I had to change the association to notepad, since SAS is not on my C: drive.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Somehow-sas-files-are-being-downloaded-as-a-pdf-file/m-p/894793#M39785</guid>
      <dc:creator>ykassoo</dc:creator>
      <dc:date>2023-09-18T14:57:20Z</dc:date>
    </item>
  </channel>
</rss>

