<?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: DATA STEP in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152622#M262598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just test this rather than ask the question? Doesn't asking the question actually take longer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than" is there a better way" you can probably test this to get your answer or read the documentation.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Oct 2014 20:41:31 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2014-10-31T20:41:31Z</dc:date>
    <item>
      <title>DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152621#M262597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a dataset........."HAVE"&lt;/P&gt;&lt;P&gt;I want a variable in it lets say Category: and has values A, B, C, D, E, F, G.there are numerous&lt;/P&gt;&lt;P&gt;I want to split my HAVE data into 2: one containing "all the category values" and the other containing say for example E&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want_all want_E&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;if category eq E then output want_E&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the above logic right????&lt;/P&gt;&lt;P&gt;since I dint write any logic for want_all does all the records go into it automatically?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again , do you have any better way to do it??/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 20:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152621#M262597</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2014-10-31T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152622#M262598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just test this rather than ask the question? Doesn't asking the question actually take longer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than" is there a better way" you can probably test this to get your answer or read the documentation.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 20:41:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152622#M262598</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-10-31T20:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152623#M262599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;I tested it before asking a question on the Community!!!&lt;/P&gt;&lt;P&gt;I am getting 0 records in the want_all...So I wanted to know how to get all the records into want_all.&lt;/P&gt;&lt;P&gt;Please don't mind.......I know asking the question takes longer but when you are stuck I think there is no other go to ask the experts ????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 20:48:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152623#M262599</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2014-10-31T20:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152624#M262600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just add an output statement. e.g.:&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;data want_all want_E;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;set have;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;output want_all;;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;if category eq 'E' then output want_E&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;run;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;If there is a better way, I'm not aware of it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 20:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152624#M262600</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-31T20:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152625#M262601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are all of great help .&lt;/P&gt;&lt;P&gt;Learning SAS is a continuous process ............atleast for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 21:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152625#M262601</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2014-10-31T21:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: DATA STEP</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152626#M262602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been continually trying to learn it for the past 40+ years.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 21:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DATA-STEP/m-p/152626#M262602</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2014-10-31T21:32:19Z</dc:date>
    </item>
  </channel>
</rss>

