<?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: Input data with DO statement. in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/601#M291</link>
    <description>Hi,&lt;BR /&gt;
I got a solution of my own:&lt;BR /&gt;
data test;&lt;BR /&gt;
  do group=1 to 2;&lt;BR /&gt;
   do j=1 to 3;&lt;BR /&gt;
    input score @;&lt;BR /&gt;
    output;&lt;BR /&gt;
   end;&lt;BR /&gt;
  end;&lt;BR /&gt;
  drop j;&lt;BR /&gt;
datalines;&lt;BR /&gt;
5 9 6 3 7 8&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
gim</description>
    <pubDate>Thu, 11 May 2006 14:15:23 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-05-11T14:15:23Z</dc:date>
    <item>
      <title>Input data with DO statement.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/600#M290</link>
      <description>Hello,&lt;BR /&gt;
The data is like this:&lt;BR /&gt;
Group Score&lt;BR /&gt;
1 5&lt;BR /&gt;
1 9&lt;BR /&gt;
1 6&lt;BR /&gt;
2 3&lt;BR /&gt;
2 7&lt;BR /&gt;
2 8&lt;BR /&gt;
&lt;BR /&gt;
I guess using do statement(or similar loop) in the data step would speed the input. I know for example in matlab how to do this, but what is the equivalent code in SAS?&lt;BR /&gt;
gim</description>
      <pubDate>Wed, 10 May 2006 11:13:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/600#M290</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-05-10T11:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Input data with DO statement.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/601#M291</link>
      <description>Hi,&lt;BR /&gt;
I got a solution of my own:&lt;BR /&gt;
data test;&lt;BR /&gt;
  do group=1 to 2;&lt;BR /&gt;
   do j=1 to 3;&lt;BR /&gt;
    input score @;&lt;BR /&gt;
    output;&lt;BR /&gt;
   end;&lt;BR /&gt;
  end;&lt;BR /&gt;
  drop j;&lt;BR /&gt;
datalines;&lt;BR /&gt;
5 9 6 3 7 8&lt;BR /&gt;
;&lt;BR /&gt;
&lt;BR /&gt;
gim</description>
      <pubDate>Thu, 11 May 2006 14:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/601#M291</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-05-11T14:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Input data with DO statement.</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/602#M292</link>
      <description>... and why do you think that this is better?</description>
      <pubDate>Mon, 15 May 2006 16:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Input-data-with-DO-statement/m-p/602#M292</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-05-15T16:40:05Z</dc:date>
    </item>
  </channel>
</rss>

