<?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 Enterprise Guide Concatenate Columns - output different order in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432531#M27927</link>
    <description>&lt;P&gt;Thank you for the help, I am a little frustrated.&amp;nbsp; I used the CATX function in EG and the expression is valid.&amp;nbsp; The output did concatenate the requested columns, trim the front and back spaces and also put in a separator.&amp;nbsp; However, the output is in a different order than the expression.&amp;nbsp; What am I doing incorrectly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CATX(t1.DA_NBR, t1.DA_FRAC_NBR, t1.SA_SN_PRE_DRCT_CD, t1.SN_TXT, t1.SA_SN_ST_TY_CD, t1.SA_SN_POST_DRCT_CD, t1.DEST_TY_CD, t1.DEST_TXT, t1.CITY_NM, t1.ST_ABBR_NM, t1.DPA_BSC_ZIP_CD)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 21:55:54 GMT</pubDate>
    <dc:creator>maliksmom2000</dc:creator>
    <dc:date>2018-01-30T21:55:54Z</dc:date>
    <item>
      <title>Enterprise Guide Concatenate Columns - output different order</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432531#M27927</link>
      <description>&lt;P&gt;Thank you for the help, I am a little frustrated.&amp;nbsp; I used the CATX function in EG and the expression is valid.&amp;nbsp; The output did concatenate the requested columns, trim the front and back spaces and also put in a separator.&amp;nbsp; However, the output is in a different order than the expression.&amp;nbsp; What am I doing incorrectly?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CATX(t1.DA_NBR, t1.DA_FRAC_NBR, t1.SA_SN_PRE_DRCT_CD, t1.SN_TXT, t1.SA_SN_ST_TY_CD, t1.SA_SN_POST_DRCT_CD, t1.DEST_TY_CD, t1.DEST_TXT, t1.CITY_NM, t1.ST_ABBR_NM, t1.DPA_BSC_ZIP_CD)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:55:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432531#M27927</guid>
      <dc:creator>maliksmom2000</dc:creator>
      <dc:date>2018-01-30T21:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Concatenate Columns - output different order</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432537#M27928</link>
      <description>&lt;P&gt;What did you expect as a separator?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In CATX, the first parameter is the separator.&amp;nbsp; So this is requesting that the value of t1.DA_NBR be used as the separator.&amp;nbsp; That might be your intention, but it seems unlikely.&amp;nbsp; Perhaps you need to insert:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CATX(' ', t1.DA_NBR.......)&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 22:12:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432537#M27928</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-30T22:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Concatenate Columns - output different order</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432569#M27934</link>
      <description>&lt;P&gt;When code goes wrong it often helps to show 1) the actual result from the code and 2) the expected result when you have one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the result is as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;suggests it would likely show up pretty easily especially when compared to an expected value. In fact it would likely show if only 3 or 4 variables were concatenated.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 23:41:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Concatenate-Columns-output-different-order/m-p/432569#M27934</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-01-30T23:41:35Z</dc:date>
    </item>
  </channel>
</rss>

