<?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 Transpose horizontal to verticle data transfer in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Transpose-horizontal-to-verticle-data-transfer/m-p/694651#M211856</link>
    <description>&lt;P&gt;Hi Reader,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please help me out with below mentioned query.&lt;/P&gt;
&lt;P&gt;Here I have attched a output for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;BR /&gt;INFILE CARDS MISSOVER ;&lt;BR /&gt;input Name $ seq $ TR $ VER $ col1 $ col2 $ col3 $ col4 $ col5 $ col6 $ col7 $ col8 $ col9 $ col10 $ col11$;&lt;BR /&gt;cards;&lt;BR /&gt;Rohan 10 abc xyz G02CC C01EB D11AH D10AX M02AA R02AX &lt;BR /&gt;rohan 20 abc xyz N03AX N07XX &lt;BR /&gt;Devid 30 abc xyz &lt;BR /&gt;John 40 abc xyz B03AB B03AC V91 B03A V03AE&lt;BR /&gt;John 40 abc xyz B03AB B03AC V91 B03A V03AE B03AB B03AC V91 B03A V03AE&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc sort data=want ;&lt;BR /&gt;by seq tr ver col1-col11;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Priya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 18:24:40 GMT</pubDate>
    <dc:creator>pdhokriya</dc:creator>
    <dc:date>2020-10-27T18:24:40Z</dc:date>
    <item>
      <title>Transpose horizontal to verticle data transfer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-horizontal-to-verticle-data-transfer/m-p/694651#M211856</link>
      <description>&lt;P&gt;Hi Reader,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please help me out with below mentioned query.&lt;/P&gt;
&lt;P&gt;Here I have attched a output for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;BR /&gt;INFILE CARDS MISSOVER ;&lt;BR /&gt;input Name $ seq $ TR $ VER $ col1 $ col2 $ col3 $ col4 $ col5 $ col6 $ col7 $ col8 $ col9 $ col10 $ col11$;&lt;BR /&gt;cards;&lt;BR /&gt;Rohan 10 abc xyz G02CC C01EB D11AH D10AX M02AA R02AX &lt;BR /&gt;rohan 20 abc xyz N03AX N07XX &lt;BR /&gt;Devid 30 abc xyz &lt;BR /&gt;John 40 abc xyz B03AB B03AC V91 B03A V03AE&lt;BR /&gt;John 40 abc xyz B03AB B03AC V91 B03A V03AE B03AB B03AC V91 B03A V03AE&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc sort data=want ;&lt;BR /&gt;by seq tr ver col1-col11;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Priya&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 18:24:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-horizontal-to-verticle-data-transfer/m-p/694651#M211856</guid>
      <dc:creator>pdhokriya</dc:creator>
      <dc:date>2020-10-27T18:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose horizontal to verticle data transfer</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Transpose-horizontal-to-verticle-data-transfer/m-p/694658#M211859</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
INFILE CARDS MISSOVER ;
input Name $ seq $ TR $ VER $ col1 $ col2 $ col3 $ col4 $ col5 $ col6 $ col7 $ col8 $ col9 $ col10 $ col11$;
cards;
Rohan 10 abc xyz G02CC C01EB D11AH D10AX M02AA R02AX 
rohan 20 abc xyz N03AX N07XX 
Devid 30 abc xyz 
John 40 abc xyz B03AB B03AC V91 B03A V03AE
John 40 abc xyz B03AB B03AC V91 B03A V03AE B03AB B03AC V91 B03A V03AE
;
run;

data want;
 set have;
 array t seq tr ver col:;
 do over t;
  if t=' ' then leave;
  q1=vname(t);
  q2=t;
  output;
 end;
 keep name q:;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Oct 2020 18:50:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Transpose-horizontal-to-verticle-data-transfer/m-p/694658#M211859</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-10-27T18:50:33Z</dc:date>
    </item>
  </channel>
</rss>

