<?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: Subsetting data in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501417#M511</link>
    <description>it was a typing mistake there is no "C" and "6" in data</description>
    <pubDate>Thu, 04 Oct 2018 10:49:31 GMT</pubDate>
    <dc:creator>Son_Of_Krypton</dc:creator>
    <dc:date>2018-10-04T10:49:31Z</dc:date>
    <item>
      <title>Subsetting data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501406#M509</link>
      <description>&lt;P&gt;i have a data as follows&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X&lt;/P&gt;&lt;P&gt;Obs.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12345&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want output like as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable&amp;nbsp; X Y Z A B C&lt;/P&gt;&lt;P&gt;Obs.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 2 3 4 5 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How we can do this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 09:59:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501406#M509</guid>
      <dc:creator>Son_Of_Krypton</dc:creator>
      <dc:date>2018-10-04T09:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501414#M510</link>
      <description>&lt;P&gt;There is no "6" in the source data. From where do you get it?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/190967"&gt;@Son_Of_Krypton&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i have a data as follows&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X&lt;/P&gt;
&lt;P&gt;Obs.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12345&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I want output like as follows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Variable&amp;nbsp; X Y Z A B C&lt;/P&gt;
&lt;P&gt;Obs.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1 2 3 4 5 6&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How we can do this&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 10:37:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501414#M510</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-04T10:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501417#M511</link>
      <description>it was a typing mistake there is no "C" and "6" in data</description>
      <pubDate>Thu, 04 Oct 2018 10:49:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501417#M511</guid>
      <dc:creator>Son_Of_Krypton</dc:creator>
      <dc:date>2018-10-04T10:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501419#M512</link>
      <description>&lt;P&gt;Why do you want to call column names XYZ ABC?&amp;nbsp; Doesn't seem good.&amp;nbsp; Anyways;&lt;/P&gt;
&lt;PRE&gt;data want;
  set have;
  array t{5} $1 y z a b c;
  do i=1 to 5;
    t{i}=char(x,i+1);
  end;
  x=char(x,1);
run;&lt;/PRE&gt;
&lt;P&gt;Note, again no test data in the form of datastep, so guessing on a lot of things!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Oct 2018 10:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501419#M512</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-04T10:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Subsetting data</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501512#M524</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Variable  $       X ;
cards;
Obs.               12345
;

data w;
set have;
length x1 $5;
array new_x [5] $1 ;
x1=strip(put(x,8.));
call pokelong (x1,addrlong(new_x[1]),length(x1));
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Oct 2018 14:51:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Subsetting-data/m-p/501512#M524</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-10-04T14:51:16Z</dc:date>
    </item>
  </channel>
</rss>

