<?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: SAS program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472571#M121185</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93207"&gt;@cm3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Correction typo mistake below&lt;BR /&gt;E031000. 4 2 5 E03. 303&lt;BR /&gt;303&lt;BR /&gt;312&lt;BR /&gt;E03100S. 1 1 4 E03. 309&lt;BR /&gt;300&lt;BR /&gt;304&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Get your text, in a plain text editor like the SAS editor or Notepad. The paste into a code box using the forum's {I} to preserve the format. Otherwise the forum strips a lot of blanks, tabs and such. I am guessing that you intended something like:&lt;/P&gt;
&lt;PRE&gt;E031000. 4 2 5 E03. 303
                    303
                    312
E03100S. 1 1 4 E03. 309
                    300
                    304
&lt;/PRE&gt;
&lt;P&gt;which would indeed be a bad structure for an actual data set. If you are wanting a REPORT that is read by people and not data fed into other procedures then say so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason this would be bad as a data set is that the value of the variable userformid is no longer available for grouping for any purpose on most records. So summarizations and such are likely to be off.&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jun 2018 19:02:56 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2018-06-22T19:02:56Z</dc:date>
    <item>
      <title>SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472300#M121088</link>
      <description>Hi, Can someone pls help with the below logic&lt;BR /&gt;There are total 25 variables in my dataset and two of them are userformid , Score. I want to populate all 25 values for only first.userformid. For rest all observations populate only Score values.&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 21 Jun 2018 21:24:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472300#M121088</guid>
      <dc:creator>cm3</dc:creator>
      <dc:date>2018-06-21T21:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472316#M121094</link>
      <description>&lt;P&gt;Sorry, you'll have to show us a (portion of) your data. I don't understand what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also show us the desired output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't show us one and not the other.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 22:19:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472316#M121094</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-06-21T22:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472320#M121095</link>
      <description>For ex my data set is like below&lt;BR /&gt;Userformid RS min_rs max_rs grade score&lt;BR /&gt;E031000. 4. 2. 5. E03. 303&lt;BR /&gt;E031000. 2. 2. 5. E03. 303&lt;BR /&gt;E031000. 5. 2. 5. E03. 312&lt;BR /&gt;E03100S. 1. 1. 4. E03. 309&lt;BR /&gt;E03100S. 3. 1. 4. E03. 300&lt;BR /&gt;E03100S. 4. 1. 4. E03. 304&lt;BR /&gt;&lt;BR /&gt;I need my output data set as below&lt;BR /&gt;&lt;BR /&gt;Userformid RS min_rs max_rs grade score&lt;BR /&gt;E031000. 4 2 5 E03. 303&lt;BR /&gt;303&lt;BR /&gt;312&lt;BR /&gt;E03100S. 1 1 4 E03. 309&lt;BR /&gt;300&lt;BR /&gt;304&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
      <pubDate>Thu, 21 Jun 2018 22:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472320#M121095</guid>
      <dc:creator>cm3</dc:creator>
      <dc:date>2018-06-21T22:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472322#M121097</link>
      <description>Correction typo mistake below&lt;BR /&gt;E031000. 4 2 5 E03. 303&lt;BR /&gt;303&lt;BR /&gt;312&lt;BR /&gt;E03100S. 1 1 4 E03. 309&lt;BR /&gt;300&lt;BR /&gt;304</description>
      <pubDate>Thu, 21 Jun 2018 22:51:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472322#M121097</guid>
      <dc:creator>cm3</dc:creator>
      <dc:date>2018-06-21T22:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472325#M121098</link>
      <description>303 312 300 304 are Score values and should be under last column&lt;BR /&gt;Userformid RS min_rs max_rs grade as null values</description>
      <pubDate>Thu, 21 Jun 2018 23:00:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472325#M121098</guid>
      <dc:creator>cm3</dc:creator>
      <dc:date>2018-06-21T23:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472329#M121100</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93207"&gt;@cm3&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;It feels wrong to create such a data structure but here you go.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set have;
  by Userformid;
  if not first.Userformid then
    do;
      call missing(Userformid, RS, min_rs, max_rs, grade);
    end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Jun 2018 23:10:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472329#M121100</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-06-21T23:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472571#M121185</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/93207"&gt;@cm3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Correction typo mistake below&lt;BR /&gt;E031000. 4 2 5 E03. 303&lt;BR /&gt;303&lt;BR /&gt;312&lt;BR /&gt;E03100S. 1 1 4 E03. 309&lt;BR /&gt;300&lt;BR /&gt;304&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Get your text, in a plain text editor like the SAS editor or Notepad. The paste into a code box using the forum's {I} to preserve the format. Otherwise the forum strips a lot of blanks, tabs and such. I am guessing that you intended something like:&lt;/P&gt;
&lt;PRE&gt;E031000. 4 2 5 E03. 303
                    303
                    312
E03100S. 1 1 4 E03. 309
                    300
                    304
&lt;/PRE&gt;
&lt;P&gt;which would indeed be a bad structure for an actual data set. If you are wanting a REPORT that is read by people and not data fed into other procedures then say so.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The reason this would be bad as a data set is that the value of the variable userformid is no longer available for grouping for any purpose on most records. So summarizations and such are likely to be off.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 19:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-program/m-p/472571#M121185</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-06-22T19:02:56Z</dc:date>
    </item>
  </channel>
</rss>

