<?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 How to convert the horizontal lines to vertical line? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-horizontal-lines-to-vertical-line/m-p/677637#M204426</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a 'datain1' list below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data datain1;
      infile datalines delimiter='/';
  input  Result1 : $100. Result2 : $100. Result3 : $100.;
datalines;
	ACUTE OTITIS MEDIA/ASTIGMATISM/CONSTIPATION
;
run;&lt;/PRE&gt;
&lt;P&gt;I could like to convert result1-result3 into one column 'Name.'&amp;nbsp;&amp;nbsp; Please help me&amp;nbsp;to approach it, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data dataout1;
      infile datalines dsd;
  input  Name : $200. ;
datalines;
	ACUTE OTITIS MEDIA,
	ASTIGMATISM,
	CONSTIPATION
;
run;&lt;/PRE&gt;</description>
    <pubDate>Tue, 18 Aug 2020 20:42:47 GMT</pubDate>
    <dc:creator>ybz12003</dc:creator>
    <dc:date>2020-08-18T20:42:47Z</dc:date>
    <item>
      <title>How to convert the horizontal lines to vertical line?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-horizontal-lines-to-vertical-line/m-p/677637#M204426</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a 'datain1' list below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data datain1;
      infile datalines delimiter='/';
  input  Result1 : $100. Result2 : $100. Result3 : $100.;
datalines;
	ACUTE OTITIS MEDIA/ASTIGMATISM/CONSTIPATION
;
run;&lt;/PRE&gt;
&lt;P&gt;I could like to convert result1-result3 into one column 'Name.'&amp;nbsp;&amp;nbsp; Please help me&amp;nbsp;to approach it, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data dataout1;
      infile datalines dsd;
  input  Name : $200. ;
datalines;
	ACUTE OTITIS MEDIA,
	ASTIGMATISM,
	CONSTIPATION
;
run;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Aug 2020 20:42:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-horizontal-lines-to-vertical-line/m-p/677637#M204426</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2020-08-18T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert the horizontal lines to vertical line?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-horizontal-lines-to-vertical-line/m-p/677640#M204427</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data datain1;
      infile datalines delimiter='/';
  input  Result1 : $100. Result2 : $100. Result3 : $100.;
datalines;
	ACUTE OTITIS MEDIA/ASTIGMATISM/CONSTIPATION
;
run;

data want;
 set datain1;
 array t result1-result3;
 do over t;
  want=t;
  output;
 end;
 keep want;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Aug 2020 20:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-convert-the-horizontal-lines-to-vertical-line/m-p/677640#M204427</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-08-18T20:51:53Z</dc:date>
    </item>
  </channel>
</rss>

