<?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, to combine value of Column with Enter Key in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932158#M366707</link>
    <description>in Proc report i would like  to sipaly</description>
    <pubDate>Thu, 13 Jun 2024 15:09:34 GMT</pubDate>
    <dc:creator>mmkr</dc:creator>
    <dc:date>2024-06-13T15:09:34Z</dc:date>
    <item>
      <title>SAS, to combine value of Column with Enter Key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932143#M366703</link>
      <description>&lt;P&gt;I am trying to combine two columns and add a enter or next line the values , can you help me ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data test;&lt;BR /&gt;x="himom";&lt;BR /&gt;y="hidad";&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;data want;&lt;BR /&gt;set test ;&lt;BR /&gt;length D $50 ;&lt;BR /&gt;d = catx('0D0A'x,x,y);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data=want;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result i want :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;newcolumn&lt;/P&gt;
&lt;P&gt;-----------&lt;/P&gt;
&lt;P&gt;himom&lt;/P&gt;
&lt;P&gt;hidad&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 14:49:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932143#M366703</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2024-06-13T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS, to combine value of Column with Enter Key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932144#M366704</link>
      <description>&lt;P&gt;Where do you expect this to appear? It might be possible for some ODS destinations but it may be that the approach is different for different file types.&lt;/P&gt;
&lt;P&gt;And basically isn't going to appear in a data set view.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 14:55:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932144#M366704</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-06-13T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS, to combine value of Column with Enter Key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932146#M366705</link>
      <description>&lt;P&gt;I don't think there is a way for PROC PRINT to honor linefeed/carriage returns within the value of a single Cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wonder if there are any PROC REPORT honchos seeing this question can provide a solution.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 15:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932146#M366705</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2024-06-13T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS, to combine value of Column with Enter Key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932158#M366707</link>
      <description>in Proc report i would like  to sipaly</description>
      <pubDate>Thu, 13 Jun 2024 15:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932158#M366707</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2024-06-13T15:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAS, to combine value of Column with Enter Key</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932202#M366709</link>
      <description>&lt;P&gt;ENTER is a KEY, not a CHARACTER.&amp;nbsp; I suppose the character you might want is a LINEFEED, '0A'x, or CARRIAGE RETURN, '0D'x.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you are probably better off inserting something that PROC REPORT will recognize as a line break.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See this thread for example.&amp;nbsp;&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Multiple-lines-in-a-PROC-REPORT-cell/td-p/312811" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Multiple-lines-in-a-PROC-REPORT-cell/td-p/312811&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 15:34:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-to-combine-value-of-Column-with-Enter-Key/m-p/932202#M366709</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-06-13T15:34:19Z</dc:date>
    </item>
  </channel>
</rss>

