<?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 sas dataflux query in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sas-dataflux-query/m-p/154282#M262747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;hi all i have a name column where there are names of people who have opened a account in the respective bank.i would like to add a column where if people have added two names separated by comma or &amp;amp; to recognise them as joint account holders&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;please guide me to do this in sas dataflux&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 05:21:54 GMT</pubDate>
    <dc:creator>sne7189</dc:creator>
    <dc:date>2015-02-05T05:21:54Z</dc:date>
    <item>
      <title>sas dataflux query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-dataflux-query/m-p/154282#M262747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;hi all i have a name column where there are names of people who have opened a account in the respective bank.i would like to add a column where if people have added two names separated by comma or &amp;amp; to recognise them as joint account holders&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;please guide me to do this in sas dataflux&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 05:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-dataflux-query/m-p/154282#M262747</guid>
      <dc:creator>sne7189</dc:creator>
      <dc:date>2015-02-05T05:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: sas dataflux query</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sas-dataflux-query/m-p/154283#M262748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this in an expression node. Assuming the account name field is named input_name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Pre Expression */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string account_name_1&lt;/P&gt;&lt;P&gt;string account_name_2&lt;/P&gt;&lt;P&gt;hidden integer cnt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cnt = 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*Expression*/&lt;/P&gt;&lt;P&gt;if instr(`input_name`, ',') &amp;gt; 0 or instr(`input_name`, '&amp;amp;') &amp;gt; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; begin&lt;/P&gt;&lt;P&gt;&amp;nbsp; if instr(`input_name`, ',') &amp;gt; 0 &lt;/P&gt;&lt;P&gt;&amp;nbsp; cnt = parse(`input_name`, ',', account_name_1, account_name_2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp; cnt = parse(`input_name`, '&amp;amp;', account_name_1, account_name_2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; end&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;begin&lt;/P&gt;&lt;P&gt;&amp;nbsp; account_name_1 = `input_name`&lt;/P&gt;&lt;P&gt;&amp;nbsp; account_name_2 = null&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;account_name_1 = trim(account_name_1)&lt;/P&gt;&lt;P&gt;account_name_2 = trim(account_name_2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 15:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sas-dataflux-query/m-p/154283#M262748</guid>
      <dc:creator>skillman</dc:creator>
      <dc:date>2015-02-05T15:39:34Z</dc:date>
    </item>
  </channel>
</rss>

