<?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 Convert SAS Transport file to csv in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328523#M271708</link>
    <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a research project, and ran into some SAS macros. Most are txt file which I can read, except for 1.&lt;/P&gt;&lt;P&gt;Could someone help convert the attached SAS transport file so I can read it in Excel.&lt;/P&gt;&lt;P&gt;[The original file was just "C2211L4P" (no extension). I had to add .txt so I could upload to this post.]&lt;/P&gt;&lt;P&gt;I tried the SAS General Viewer, which didn't read it either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the directions that came with the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code for converting coefficients transport file to SAS file:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filename&lt;/STRONG&gt; inc&amp;nbsp; "&lt;EM&gt;C:\user defined location of the transport file&lt;/EM&gt;\C2211L4P";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;libname&lt;/STRONG&gt; incoef&amp;nbsp; "&lt;EM&gt;C:\user defined location of the sas coefficients file&lt;/EM&gt;";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;cimport&lt;/STRONG&gt; &lt;STRONG&gt;data=&lt;/STRONG&gt;incoef.hcccoefn &lt;STRONG&gt;infile=&lt;/STRONG&gt;inc;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2017 17:28:57 GMT</pubDate>
    <dc:creator>sam4734</dc:creator>
    <dc:date>2017-01-30T17:28:57Z</dc:date>
    <item>
      <title>Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328523#M271708</link>
      <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a research project, and ran into some SAS macros. Most are txt file which I can read, except for 1.&lt;/P&gt;&lt;P&gt;Could someone help convert the attached SAS transport file so I can read it in Excel.&lt;/P&gt;&lt;P&gt;[The original file was just "C2211L4P" (no extension). I had to add .txt so I could upload to this post.]&lt;/P&gt;&lt;P&gt;I tried the SAS General Viewer, which didn't read it either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the directions that came with the file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code for converting coefficients transport file to SAS file:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filename&lt;/STRONG&gt; inc&amp;nbsp; "&lt;EM&gt;C:\user defined location of the transport file&lt;/EM&gt;\C2211L4P";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;libname&lt;/STRONG&gt; incoef&amp;nbsp; "&lt;EM&gt;C:\user defined location of the sas coefficients file&lt;/EM&gt;";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;cimport&lt;/STRONG&gt; &lt;STRONG&gt;data=&lt;/STRONG&gt;incoef.hcccoefn &lt;STRONG&gt;infile=&lt;/STRONG&gt;inc;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 17:28:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328523#M271708</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-30T17:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328524#M271709</link>
      <description>&lt;P&gt;Follow those instructions. Then export the the resulting data set(s) to csv.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SAS transport files may contain multiple data sets and possibly catalogs, the instruction program is showing you how to extract only the data of interest.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 17:32:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328524#M271709</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-30T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328528#M271710</link>
      <description>&lt;P&gt;Hi -&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have SAS. And, just need to get this one file converted.&lt;/P&gt;&lt;P&gt;Or is there a tool that would convert the transport file into csv or txt for me?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 17:37:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328528#M271710</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-30T17:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328541#M271711</link>
      <description>&lt;P&gt;There are versions of SAS available for your usage, assuming you're a student. Your university should also provide a copy/access if they expect you to use SAS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sas.com/en_my/learn/analytics-u.html" target="_blank"&gt;http://www.sas.com/en_my/learn/analytics-u.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 18:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328541#M271711</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-30T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328542#M271712</link>
      <description>&lt;P&gt;You might find a third-party software that does a conversion BUT the caveat would be whether your dataset contains any features that were not available when the conversion was written.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest downloading SAS University Edition, which is free and then use the Proc cimport code.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 18:21:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328542#M271712</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-01-30T18:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328544#M271713</link>
      <description>&lt;P&gt;can I use the cloud version or is the download/install the best way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume there is "command" area where I can do those commands?&lt;/P&gt;&lt;P&gt;Or if you can point me to a How-To or menu option, otherwise I may be hunting around more.&lt;/P&gt;&lt;P&gt;Obviously, I have no SAS experience.&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 18:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328544#M271713</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-30T18:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328545#M271714</link>
      <description>&lt;P&gt;If you're going to use it once and only for this, I would probably sign up for the cloud version via SAS Academics on Demand. If you plan to use it in the future then download and set up. It's a big file (2GB).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basic tutorial video's are here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/training/tutorial/" target="_blank"&gt;http://support.sas.com/training/tutorial/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 18:28:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328545#M271714</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-30T18:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328549#M271715</link>
      <description>&lt;P&gt;We'll give it a go. Thank you all&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 19:01:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328549#M271715</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-30T19:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328572#M271716</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the online version of SAS&lt;/P&gt;&lt;P&gt;I've been trying to run the following to convert the transport file.&lt;/P&gt;&lt;P&gt;I'm getting the error:&amp;nbsp;&lt;SPAN&gt;ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/c:\hcc\C2211L4P.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've double-checked. Attached is my folder. Again, I don't know SAS at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename inc "c:\hcc\C2211L4P";&lt;BR /&gt;libname incoef "c:\hcc";&lt;BR /&gt;proc cimport data=incoef.hcccoefn infile=inc;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two Qs&lt;/P&gt;&lt;P&gt;1) what do I need to do?&lt;/P&gt;&lt;P&gt;2) once converted, how do I convert to Excel csv?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 20:50:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328572#M271716</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-30T20:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328605#M271717</link>
      <description>&lt;P&gt;You need to upload the file to the server.&lt;/P&gt;
&lt;P&gt;When referencing files on the server, right click on it under Servers pane, select properties and find the path. The path is not your C drive since you're using an online service rather than an installation.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:36:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328605#M271717</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-30T22:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328607#M271718</link>
      <description>&lt;P&gt;Then look at a proc export to export your data to a CSV file and you'll need to download the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI CSV are text files that happen to open in Excel by default.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 22:39:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328607#M271718</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-01-30T22:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Convert SAS Transport file to csv</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328628#M271719</link>
      <description>&lt;P&gt;Thanks. Was able to convert &amp;amp; export. All set.&lt;BR /&gt;Sam&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 00:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Convert-SAS-Transport-file-to-csv/m-p/328628#M271719</guid>
      <dc:creator>sam4734</dc:creator>
      <dc:date>2017-01-31T00:38:26Z</dc:date>
    </item>
  </channel>
</rss>

