<?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: Reading Raw Data File with Column Headings in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66877#M14495</link>
    <description>What OS is SAS running under - can you use PROC IMPORT?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Thu, 11 Mar 2010 03:13:24 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2010-03-11T03:13:24Z</dc:date>
    <item>
      <title>Reading Raw Data File with Column Headings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66875#M14493</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
If my raw data file (csv or fixed length file) contains column headings in the first row, can I use a infile, input statement to read in the column headings as my sas variable names?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Thu, 11 Mar 2010 02:28:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66875#M14493</guid>
      <dc:creator>huikeng_sas</dc:creator>
      <dc:date>2010-03-11T02:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Raw Data File with Column Headings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66876#M14494</link>
      <description>You can in EGuide.  I'm not sure if it is easy to do in base SAS.</description>
      <pubDate>Thu, 11 Mar 2010 02:51:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66876#M14494</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-03-11T02:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Raw Data File with Column Headings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66877#M14495</link>
      <description>What OS is SAS running under - can you use PROC IMPORT?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 11 Mar 2010 03:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66877#M14495</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-03-11T03:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Raw Data File with Column Headings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66878#M14496</link>
      <description>If customer didnt license Acc to PC File Formats, he will not be able to use proc import. So, is there a way that he can work around using infile, input statements without specifying the column names in the input statements?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!</description>
      <pubDate>Thu, 11 Mar 2010 03:20:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66878#M14496</guid>
      <dc:creator>huikeng_sas</dc:creator>
      <dc:date>2010-03-11T03:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Raw Data File with Column Headings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66879#M14497</link>
      <description>Nicole&lt;BR /&gt;
&lt;BR /&gt;
except on zOS MVS-type mainframes &lt;BR /&gt;
&lt;BR /&gt;
for a raw file, the SAS EFI accessed on the main SAS File-menu option Import-Data (aka "Import wizard" which uses proc import when needed) can help, even without licensing SAS/ACCESS to PC file formats.&lt;BR /&gt;
I prefer a data step (simple example at &lt;A href="http://support.sas.com/forums/thread.jspa?messageID=13449㒉" target="_blank"&gt;http://support.sas.com/forums/thread.jspa?messageID=13449㒉&lt;/A&gt; ), but you get more support and prompting from EFI. &lt;BR /&gt;
 &lt;BR /&gt;
If you need prompt support, SAS Enterprise Guide is even better. See that forum at &lt;A href="http://support.sas.com/forums/forum.jspa?forumID=10" target="_blank"&gt;http://support.sas.com/forums/forum.jspa?forumID=10&lt;/A&gt; .&lt;BR /&gt;
 &lt;BR /&gt;
Because of the restrictions that apply to variable names, I don't dynamically load these names, just paste the list from the file into my program and use the editor to "clean up" the problems &lt;BR /&gt;
 &lt;BR /&gt;
PeterC

Message was edited by: Peter.C (who forgot not all platforms have SAS EFI and proc import)</description>
      <pubDate>Thu, 11 Mar 2010 20:13:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Reading-Raw-Data-File-with-Column-Headings/m-p/66879#M14497</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-03-11T20:13:53Z</dc:date>
    </item>
  </channel>
</rss>

