<?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 file random without point in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178108#M34075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I check why?&amp;nbsp; It seems in your example you want a dataset with a 1, 2 combination 3 times.&amp;nbsp; There are better ways than creating one dataset and then appending that three times, do loops for instance, retain statement setting the value != previous etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2014 12:13:52 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-08-28T12:13:52Z</dc:date>
    <item>
      <title>reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178105#M34072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to read observations from a dataset 3 times,how many ways(without point) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have dataset:&lt;/P&gt;&lt;P&gt;ranks&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;want dataset:&lt;/P&gt;&lt;P&gt;ranks&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 11:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178105#M34072</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2014-08-28T11:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178106#M34073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;set have have have;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 11:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178106#M34073</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2014-08-28T11:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178107#M34074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And check some functions about it like&amp;nbsp;&amp;nbsp; fetchobs( )&amp;nbsp; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 12:11:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178107#M34074</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2014-08-28T12:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178108#M34075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I check why?&amp;nbsp; It seems in your example you want a dataset with a 1, 2 combination 3 times.&amp;nbsp; There are better ways than creating one dataset and then appending that three times, do loops for instance, retain statement setting the value != previous etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 12:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178108#M34075</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-28T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178109#M34076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;select * from have&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select * from have&lt;/P&gt;&lt;P&gt;union all&lt;/P&gt;&lt;P&gt;select * from have;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 19:37:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178109#M34076</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-08-28T19:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178110#M34077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to waste space, create a view:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data want / view=want;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set have have have;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 20:28:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178110#M34077</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2014-08-28T20:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178111#M34078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How silly are we allowed to get?&amp;nbsp; Why write something simple when you can confuse everybody with a macro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%macro silly;&lt;/P&gt;&lt;P&gt;%local N i j;&lt;/P&gt;&lt;P&gt;data _null_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set have nobs=_total_obs_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; call symputx ('N', _total_obs_);&lt;/P&gt;&lt;P&gt;run;&lt;BR /&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; %do i=1 %to 3;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %do j=1 %to &amp;amp;N;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have (firstobs=&amp;amp;j obs=&amp;amp;j);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; %end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%mend silly;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%silly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 20:49:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178111#M34078</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2014-08-28T20:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178112#M34079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First rule of obfuscation club is...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 07:49:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178112#M34079</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-08-29T07:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: reading file random without point</title>
      <link>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178113#M34080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could u pls provide me the logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 09:41:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/reading-file-random-without-point/m-p/178113#M34080</guid>
      <dc:creator>rajeshm</dc:creator>
      <dc:date>2014-08-29T09:41:04Z</dc:date>
    </item>
  </channel>
</rss>

