<?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 Regarding reading data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Regarding-reading-data/m-p/51538#M14134</link>
    <description>The data is in Text.how can i read&lt;BR /&gt;
&lt;BR /&gt;
1 x 22&lt;BR /&gt;
2a 33&lt;BR /&gt;
3 aaa 44&lt;BR /&gt;
4 bbb 55&lt;BR /&gt;
id name age&lt;BR /&gt;
5 ccc 66&lt;BR /&gt;
6 ddd 55&lt;BR /&gt;
7 eee 66&lt;BR /&gt;
8 fff 77&lt;BR /&gt;
id name age&lt;BR /&gt;
9 ggg 99&lt;BR /&gt;
10 hhh 88&lt;BR /&gt;
11 rrr 87&lt;BR /&gt;
12 eee 88&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hi i am having a data set in this every fifth observation is my variable name now i wnat to elimnate all the variable names in the obs and in starting varaiables name shd reflect.And i dont know the no of observations are there&lt;BR /&gt;
&lt;BR /&gt;
output&lt;BR /&gt;
&lt;BR /&gt;
id name$ age&lt;BR /&gt;
1 x 22&lt;BR /&gt;
2a 33&lt;BR /&gt;
3 aaa 44&lt;BR /&gt;
4 bbb 55&lt;BR /&gt;
5 ccc 66&lt;BR /&gt;
6 ddd 55&lt;BR /&gt;
7 eee 66&lt;BR /&gt;
8 fff 77&lt;BR /&gt;
9 ggg 99&lt;BR /&gt;
10 hhh 88&lt;BR /&gt;
11 rrr 87&lt;BR /&gt;
12 eee 88</description>
    <pubDate>Mon, 06 Jul 2009 07:13:32 GMT</pubDate>
    <dc:creator>sas_</dc:creator>
    <dc:date>2009-07-06T07:13:32Z</dc:date>
    <item>
      <title>Regarding reading data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regarding-reading-data/m-p/51538#M14134</link>
      <description>The data is in Text.how can i read&lt;BR /&gt;
&lt;BR /&gt;
1 x 22&lt;BR /&gt;
2a 33&lt;BR /&gt;
3 aaa 44&lt;BR /&gt;
4 bbb 55&lt;BR /&gt;
id name age&lt;BR /&gt;
5 ccc 66&lt;BR /&gt;
6 ddd 55&lt;BR /&gt;
7 eee 66&lt;BR /&gt;
8 fff 77&lt;BR /&gt;
id name age&lt;BR /&gt;
9 ggg 99&lt;BR /&gt;
10 hhh 88&lt;BR /&gt;
11 rrr 87&lt;BR /&gt;
12 eee 88&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hi i am having a data set in this every fifth observation is my variable name now i wnat to elimnate all the variable names in the obs and in starting varaiables name shd reflect.And i dont know the no of observations are there&lt;BR /&gt;
&lt;BR /&gt;
output&lt;BR /&gt;
&lt;BR /&gt;
id name$ age&lt;BR /&gt;
1 x 22&lt;BR /&gt;
2a 33&lt;BR /&gt;
3 aaa 44&lt;BR /&gt;
4 bbb 55&lt;BR /&gt;
5 ccc 66&lt;BR /&gt;
6 ddd 55&lt;BR /&gt;
7 eee 66&lt;BR /&gt;
8 fff 77&lt;BR /&gt;
9 ggg 99&lt;BR /&gt;
10 hhh 88&lt;BR /&gt;
11 rrr 87&lt;BR /&gt;
12 eee 88</description>
      <pubDate>Mon, 06 Jul 2009 07:13:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regarding-reading-data/m-p/51538#M14134</guid>
      <dc:creator>sas_</dc:creator>
      <dc:date>2009-07-06T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding reading data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Regarding-reading-data/m-p/51539#M14135</link>
      <description>A DATA step can be used here and test the input record buffer for some unreasonable value then DELETE the current record.&lt;BR /&gt;
&lt;BR /&gt;
DATA ;&lt;BR /&gt;
INFILE &lt;FILEREF&gt;;&lt;BR /&gt;
INPUT @;&lt;BR /&gt;
IF UPCASE(_INFILE_) =: 'ID' THEN DELETE;&lt;BR /&gt;
* your DATA step code goes here to read your input file as expected. ;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
SAS support website  &lt;A href="http://support.sas.com/" target="_blank"&gt;http://support.sas.com/&lt;/A&gt;  can provide SAS-hosted documentation and technical/conference topic papers:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/61724/HTML/default/a000146932.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/61724/HTML/default/a000146932.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;/FILEREF&gt;</description>
      <pubDate>Mon, 06 Jul 2009 15:38:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Regarding-reading-data/m-p/51539#M14135</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-07-06T15:38:26Z</dc:date>
    </item>
  </channel>
</rss>

