<?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: Concat 2 numeric column values to 1 numeric (!) value seperated by dash? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440032#M109857</link>
    <description>&lt;P&gt;Excel won’t consider it a numeric variable either, but it doesn’t force a column to adhere to rules. you can check that in Excel using ISNUMBER() function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can export the values to Excel, is that not working?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need help you need to explain what you’re trying to do, what you have or want. So far all you’ve asked is if things are possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, not a guy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/195211"&gt;@SAS_Question&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your confirmation. That's what I was afraid for...&lt;/P&gt;
&lt;P&gt;Now, that we know that Excel doesn't matter what you put in the cell (char of num), is it possible to do this when I export the SAS table data to excel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I say to SAS, when you come across row (D_RangeL and D_RangeH) keep the value in mind, and when exporting export these values as one row and as a char: "D_RangeL - D_RangeH" (in values: 2,81 - 9,37)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really don't know where to start here.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Some help would be nice guys. Thanks again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Feb 2018 15:28:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-02-25T15:28:18Z</dc:date>
    <item>
      <title>Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440026#M109853</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Cocat Numerics.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18801i284AFE04FF72E4CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cocat Numerics.png" alt="Cocat Numerics.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi everyone who is reading this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 1 char colum (source) with values (D_RangeL and D_RangeH) and 1 numeric column with values (2,81 and 9,37 = european notation, no dot, but comma!). See the picture where it says Have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now what I want to do in Base SAS is: I want to concatenate the row values to 1 value. So it is like in the picture where it says WANT.&lt;/P&gt;&lt;P&gt;Is that possible in SAS? I did this example in Excel, as you might have noticed...because in SAS I can;t manage this.&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;catx(' - ', RangeL, RangeH);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;but because this becomes a char value and I want it in a Num column this is not possible in SAS? Or...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:06:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440026#M109853</guid>
      <dc:creator>SAS_Question</dc:creator>
      <dc:date>2018-02-25T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440027#M109854</link>
      <description>&lt;P&gt;It’s not possible to have characters in a numeric variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on what&amp;nbsp;you’re ultimately trying to do there may be other workarounds, but CATX is the correct approach for a character variable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excel doesn’t force types on columns, which is why it’s allowed there but in general most Datsbass systems don’t allow this type of thing.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/195211"&gt;@SAS_Question&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-right" image-alt="Cocat Numerics.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18801i284AFE04FF72E4CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cocat Numerics.png" alt="Cocat Numerics.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi everyone who is reading this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 1 char colum (source) with values (D_RangeL and D_RangeH) and 1 numeric column with values (2,81 and 9,37 = european notation, no dot, but comma!). See the picture where it says Have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now what I want to do in Base SAS is: I want to concatenate the row values to 1 value. So it is like in the picture where it says WANT.&lt;/P&gt;
&lt;P&gt;Is that possible in SAS? I did this example in Excel, as you might have noticed...because in SAS I can;t manage this.&lt;/P&gt;
&lt;P&gt;I used&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;catx(' - ', RangeL, RangeH);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but because this becomes a char value and I want it in a Num column this is not possible in SAS? Or...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440027#M109854</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-25T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440031#M109856</link>
      <description>&lt;P&gt;Thank you for your confirmation. That's what I was afraid for...&lt;/P&gt;&lt;P&gt;Now, that we know that Excel doesn't matter what you put in the cell (char of num), is it possible to do this when I export the SAS table data to excel?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I say to SAS, when you come across row (D_RangeL and D_RangeH) keep the value in mind, and when exporting export these values as one row and as a char: "D_RangeL - D_RangeH" (in values: 2,81 - 9,37)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really don't know where to start here.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Some help would be nice guys. Thanks again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:21:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440031#M109856</guid>
      <dc:creator>SAS_Question</dc:creator>
      <dc:date>2018-02-25T15:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440032#M109857</link>
      <description>&lt;P&gt;Excel won’t consider it a numeric variable either, but it doesn’t force a column to adhere to rules. you can check that in Excel using ISNUMBER() function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can export the values to Excel, is that not working?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need help you need to explain what you’re trying to do, what you have or want. So far all you’ve asked is if things are possible.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, not a guy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/195211"&gt;@SAS_Question&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Thank you for your confirmation. That's what I was afraid for...&lt;/P&gt;
&lt;P&gt;Now, that we know that Excel doesn't matter what you put in the cell (char of num), is it possible to do this when I export the SAS table data to excel?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I say to SAS, when you come across row (D_RangeL and D_RangeH) keep the value in mind, and when exporting export these values as one row and as a char: "D_RangeL - D_RangeH" (in values: 2,81 - 9,37)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I really don't know where to start here.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Some help would be nice guys. Thanks again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 15:28:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440032#M109857</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-25T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440043#M109861</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry about that 'guys' statement.. it is a thing i always use.&lt;/P&gt;&lt;P&gt;Consider it a statement of concatenation of boys and girls, though this is also not possible! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the export:&lt;/P&gt;&lt;P&gt;Just consider the 2 given columns in the picture and the 2 rows, which need to be exported like on the picture where it says WANT.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's what I want to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I do to get these kind of table is (very simplified now):&lt;/P&gt;&lt;P&gt;I import 2 csv files. Do some sorting and selection on them by proc sort and proc sql.&lt;BR /&gt;After that I get a table which I have to transpose (thus getting automatically num and char columns).&lt;BR /&gt;&lt;BR /&gt;Till then everything is going okay.&lt;BR /&gt;&lt;BR /&gt;So supose then this is a very simplified transposed table which I get, and which I can succesfully export to my excel sheet:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
infile datalines delimiter=','; 
   input source $10. value;
   datalines;                      
		D_RangeH, 10
		D_RangeL, 9
;
run;

proc sort data=x;
  by source descending value;
run;

proc export data=x outfile="p:\temp\test.xlsx" dbms=xlsx replace;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No problems so far.&lt;/P&gt;&lt;P&gt;But now, dear friends, what I want to do is concat the 2 rows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt; D_RangeH&amp;nbsp;&amp;nbsp; 10&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; D_RangeL&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To 1 Row, like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;D_RangeLH&amp;nbsp;&amp;nbsp;&amp;nbsp; 9 - 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I really dont have a clue where to start..&amp;nbsp;&lt;/P&gt;&lt;P&gt;So any help with this step would be nice. Thank you in advance.&lt;/P&gt;&lt;P&gt;I hope you understand what I mean now. If not, let me know again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 17:42:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440043#M109861</guid>
      <dc:creator>SAS_Question</dc:creator>
      <dc:date>2018-02-25T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440045#M109863</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;After that I get a table which I have to transpose (thus getting automatically num and char columns).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Till then everything is going okay.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I don't see any transpose in your code, but you say that's going okay? Did you miss including&amp;nbsp;the PROC TRANSPOSE?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 17:44:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440045#M109863</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-25T17:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440047#M109864</link>
      <description>&lt;P&gt;Consider this simplified step:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data x;
infile datalines delimiter=','; 
   input source $10. value;
   datalines;                      
		D_RangeH, 10
		D_RangeL, 9
;
run;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as the result for all my steps (incl. the transpose step). So that's all okay.&lt;/P&gt;&lt;P&gt;No problems there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;How do I concatenate the 2 row values to 1 row with concatenated value of 9 - 10.&lt;/P&gt;&lt;P&gt;That's all I want to know, in fact. Excuse all the other context! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 17:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440047#M109864</guid>
      <dc:creator>SAS_Question</dc:creator>
      <dc:date>2018-02-25T17:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440048#M109865</link>
      <description>&lt;P&gt;You will need to create a CHARACTER variable to hold a string like that.&lt;/P&gt;
&lt;P&gt;You can use the COMMAX format to generate numbers that use comma instead of period as the decimal point.&amp;nbsp; Although it might be based on your LOCALE setting that COMMA format will do that for you instead.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have ;
  input name $ value ;
cards;
RangeL 2.81
RangeH 9.37
;
proc transpose data=have out=wide (drop=_name_) ;
  id name ;
  var value ;
run;

data want ;
  set wide ;
  length cvalue $30 ;
  cvalue = catx(' - ',put(rangel,commax10.2),put(rangeh,commax10.2));
  format range: commax10.2 ;
run;

proc print width=min;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;       Range    Range
Obs      L        H        cvalue

 1     2,81     9,37     2,81 - 9,37&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 Feb 2018 17:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440048#M109865</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-02-25T17:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440049#M109866</link>
      <description>&lt;P&gt;Your code doesn't work. Please test it in the future.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's one way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
merge x (obs=1)
    x (firstobs=2 rename= (value=prev_value source=prev_source));
    
    want = catx('-', prev_Value, value);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 Feb 2018 17:58:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440049#M109866</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-02-25T17:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Concat 2 numeric column values to 1 numeric (!) value seperated by dash?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440057#M109869</link>
      <description>&lt;P&gt;Again sorry &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;: the code worked in Enterprise Guide here... Maybe not in Base SAS only?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt; both very beautiful solutions provided.&lt;/P&gt;&lt;P&gt;Now how do I select both as solution for my question?&lt;/P&gt;&lt;P&gt;Help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You both deserve it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 18:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Concat-2-numeric-column-values-to-1-numeric-value-seperated-by/m-p/440057#M109869</guid>
      <dc:creator>SAS_Question</dc:creator>
      <dc:date>2018-02-25T18:51:59Z</dc:date>
    </item>
  </channel>
</rss>

