<?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 Can anyone help me with reading in a raw data set into SAS ? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Can-anyone-help-me-with-reading-in-a-raw-data-set-into-SAS/m-p/63302#M17988</link>
    <description>For a raw data file containing data as shown below:&lt;BR /&gt;
1 2 3 4&lt;BR /&gt;
5 6 7 8 9 &lt;BR /&gt;
20 32 &lt;BR /&gt;
43 41 12 13 15 18 10&lt;BR /&gt;
&lt;BR /&gt;
to be read with an infile statement, with 3 variables like so:&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
infile 'c:\location';&lt;BR /&gt;
input x y z;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
so I want the final data set to look like:&lt;BR /&gt;
 1   2   3 &lt;BR /&gt;
 4   5   6 &lt;BR /&gt;
 7   8   9 &lt;BR /&gt;
20 32 43 &lt;BR /&gt;
41 12 13 &lt;BR /&gt;
15 18 10&lt;BR /&gt;
====&lt;BR /&gt;
&lt;BR /&gt;
All options about using carriage return to align the raw data set is out because there are about 42,000 records. Also, if it helps, I know the total length of each observation.</description>
    <pubDate>Thu, 12 Aug 2010 18:13:37 GMT</pubDate>
    <dc:creator>Elkridge_SAS</dc:creator>
    <dc:date>2010-08-12T18:13:37Z</dc:date>
    <item>
      <title>Can anyone help me with reading in a raw data set into SAS ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-anyone-help-me-with-reading-in-a-raw-data-set-into-SAS/m-p/63302#M17988</link>
      <description>For a raw data file containing data as shown below:&lt;BR /&gt;
1 2 3 4&lt;BR /&gt;
5 6 7 8 9 &lt;BR /&gt;
20 32 &lt;BR /&gt;
43 41 12 13 15 18 10&lt;BR /&gt;
&lt;BR /&gt;
to be read with an infile statement, with 3 variables like so:&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
infile 'c:\location';&lt;BR /&gt;
input x y z;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
so I want the final data set to look like:&lt;BR /&gt;
 1   2   3 &lt;BR /&gt;
 4   5   6 &lt;BR /&gt;
 7   8   9 &lt;BR /&gt;
20 32 43 &lt;BR /&gt;
41 12 13 &lt;BR /&gt;
15 18 10&lt;BR /&gt;
====&lt;BR /&gt;
&lt;BR /&gt;
All options about using carriage return to align the raw data set is out because there are about 42,000 records. Also, if it helps, I know the total length of each observation.</description>
      <pubDate>Thu, 12 Aug 2010 18:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-anyone-help-me-with-reading-in-a-raw-data-set-into-SAS/m-p/63302#M17988</guid>
      <dc:creator>Elkridge_SAS</dc:creator>
      <dc:date>2010-08-12T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone help me with reading in a raw data set into SAS ?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Can-anyone-help-me-with-reading-in-a-raw-data-set-into-SAS/m-p/63303#M17989</link>
      <description>Try the "double trailing @" (read about it under INPUT pointer control).&lt;BR /&gt;
&lt;BR /&gt;
Changing the INPUT statement to&lt;BR /&gt;
&lt;BR /&gt;
INPUT x y z @@;&lt;BR /&gt;
&lt;BR /&gt;
should do it.</description>
      <pubDate>Thu, 12 Aug 2010 19:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Can-anyone-help-me-with-reading-in-a-raw-data-set-into-SAS/m-p/63303#M17989</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-08-12T19:06:12Z</dc:date>
    </item>
  </channel>
</rss>

