<?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: How to display even observations without using mod function, if statement and loops in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100491#M258080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your source is a text file (or inline card images) then just skip a line in the INPUT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;&amp;nbsp; input / x1-x5 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;110 111 101 113 109&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;108 105 101 109 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;122 123 124 125 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;127 128 129 130 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;102 103 101 104 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;106 107 101 109 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;101 109 107 109 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;111 101 999 105 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 02:47:20 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2013-08-05T02:47:20Z</dc:date>
    <item>
      <title>How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100480#M258069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!!! please help me out to get output for this input&lt;STRONG&gt; without using &lt;SPAN style="text-decoration: underline;"&gt;mod function&lt;/SPAN&gt;,&lt;/STRONG&gt; &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;if statement&lt;/SPAN&gt; and &lt;SPAN style="text-decoration: underline;"&gt; loops&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;&lt;STRONG&gt;Input:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;110 111 101 113 109&lt;/P&gt;&lt;P&gt;108 105 101 109 101&lt;/P&gt;&lt;P&gt;122 123 124 125 101&lt;/P&gt;&lt;P&gt;127 128 129 130 103&lt;/P&gt;&lt;P&gt;102 103 101 104 107&lt;/P&gt;&lt;P&gt;106 107 101 109 103&lt;/P&gt;&lt;P&gt;101 109 107 109 107&lt;/P&gt;&lt;P&gt;111 101 999 105 101&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;108 105 101 109 101&lt;/P&gt;&lt;P&gt;127 128 129 130 103&lt;/P&gt;&lt;P&gt;106 107 101 109 103&lt;/P&gt;&lt;P&gt;111 101 999 105 101&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 12:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100480#M258069</guid>
      <dc:creator>Rambo_UK</dc:creator>
      <dc:date>2013-08-04T12:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100481#M258070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like a short homework assignment, so it's possible you may need to look up and study some of the tools used here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; do _n_=2 to _nobs_ by 2;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have nobs=_nobs_ point=_n_;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; stop;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 16:28:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100481#M258070</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-08-04T16:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100482#M258071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many ways to interpret that question. So I will choose the easiest one &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;. Here you are: no MOD, no loop, no IF :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data _null_;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;put _infile_;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;datalines;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;110 111 101 113 109&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;108 105 101 109 101&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;122 123 124 125 101&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;127 128 129 130 103&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;102 103 101 104 107&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;106 107 101 109 103&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;101 109 107 109 107&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;111 101 999 105 101&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&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>Sun, 04 Aug 2013 17:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100482#M258071</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-08-04T17:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100483#M258072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Astouding its working fine.&lt;/P&gt;&lt;P&gt;But I need code to get output without using mod function, if statements and loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 19:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100483#M258072</guid>
      <dc:creator>Rambo_UK</dc:creator>
      <dc:date>2013-08-04T19:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100484#M258073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks PGStats for reply.&lt;/P&gt;&lt;P&gt;I am newbie to SAS. I tried your code but its not working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 19:16:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100484#M258073</guid>
      <dc:creator>Rambo_UK</dc:creator>
      <dc:date>2013-08-04T19:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100485#M258074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is for me. What error do you get?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Aug 2013 22:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100485#M258074</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-08-04T22:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100486#M258075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about the "data step loop".&amp;nbsp; Can't do much without loops.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 00:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100486#M258075</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-08-05T00:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100487#M258076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the data resides in a dataset then you have to resort to conditionals other than IF and conditions not involving MOD such as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data have;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;input;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;line = _infile_;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;datalines;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;110 111 101 113 109&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;108 105 101 109 101&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;122 123 124 125 101&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;127 128 129 130 103&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;102 103 101 104 107&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;106 107 101 109 103&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;101 109 107 109 107&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;111 101 999 105 101&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data want(where=(line ne "DROP"));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set have;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;line = choosec(1+(round(_n_, 2) = _n_), "DROP", line);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data want2;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;set have;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;select (round(_n_, 2));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when (_n_) output;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; otherwise;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;/STRONG&gt;&lt;BR /&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>Mon, 05 Aug 2013 01:37:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100487#M258076</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-08-05T01:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100488#M258077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this a game?&amp;nbsp; Do I get a cookie if I win?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input x1-x5 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;110 111 101 113 109&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;108 105 101 109 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;122 123 124 125 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;127 128 129 130 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;102 103 101 104 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;106 107 101 109 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;101 109 107 109 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;111 101 999 105 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; link getone;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;getone:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; set have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data _null_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;set want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;put (x1-x5) (:) ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;108 105 101 109 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;127 128 129 130 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;106 107 101 109 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;111 101 999 105 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;NOTE: There were 4 observations read from the data set WORK.WANT.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 02:03:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100488#M258077</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-08-05T02:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100489#M258078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No MOD, No IF and No Loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;proc sql;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from have&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; where round(monotonic()/2)=monotonic()/2;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp; quit;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 02:07:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100489#M258078</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-08-05T02:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100490#M258079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom, you certainly deserve that cookie! - PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 02:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100490#M258079</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-08-05T02:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100491#M258080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your source is a text file (or inline card images) then just skip a line in the INPUT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;&amp;nbsp; input / x1-x5 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;110 111 101 113 109&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;108 105 101 109 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;122 123 124 125 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;127 128 129 130 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;102 103 101 104 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;106 107 101 109 103&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;101 109 107 109 107&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;111 101 999 105 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 02:47:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100491#M258080</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-08-05T02:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100492#M258081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It took me a while to figure out that implicit "return" in action. Thanks, Tom.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 03:32:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100492#M258081</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2013-08-05T03:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100493#M258082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA WANT;&lt;/P&gt;&lt;P&gt;SET HAVE;&lt;/P&gt;&lt;P&gt;IF _N_/2 = INT(_N_/2);&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 03:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100493#M258082</guid>
      <dc:creator>Scott_Mitchell</dc:creator>
      <dc:date>2013-08-05T03:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display even observations without using mod function, if statement and loops</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100494#M258083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. You really deserve the cookie &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot to everyone for wonderful ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 07:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-display-even-observations-without-using-mod-function-if/m-p/100494#M258083</guid>
      <dc:creator>Rambo_UK</dc:creator>
      <dc:date>2013-08-05T07:27:05Z</dc:date>
    </item>
  </channel>
</rss>

