<?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: Data Seperation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138080#M27893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. The problem here is we don't know how many products are there a person may took finance for single or multiple products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Apr 2014 03:38:30 GMT</pubDate>
    <dc:creator>pallis</dc:creator>
    <dc:date>2014-04-30T03:38:30Z</dc:date>
    <item>
      <title>Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138078#M27891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823;"&gt;I have an issue with my data hope u can help me in this. In my data set one variable data is data is populated lik car; tv; washing machine; mobile; cam . I have 15mill records in that data set. For this variable I need to separate each product into new variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$0:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Data a1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$0:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;set a;&lt;/SPAN&gt;&lt;BR data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$1:0" /&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$2:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Input var $50;&lt;/SPAN&gt;&lt;BR data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$3:0" /&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.0.$end:0:$4:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Product="car; tv; fridge; washingmachine; mobile"; output;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$1:0" /&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$2:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Product&lt;/SPAN&gt;="Car; fridge; phone"; output;&lt;/SPAN&gt;&lt;BR data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$3:0" /&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$4:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Run;&lt;/SPAN&gt;&lt;BR data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$5:0" /&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;This is sample data. Each product is seperated by &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;" ; ".&amp;nbsp; &lt;/STRONG&gt;Next to ; is new product which need to be created in seperate variable&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I'm looking for output like&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;x1 x2 x3 x4 product&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; product1 &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;product2&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;product&lt;/SPAN&gt;3&amp;nbsp;&amp;nbsp; product 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; product5&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; 1&amp;nbsp; a&amp;nbsp;&amp;nbsp; a&amp;nbsp;&amp;nbsp; a&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;car; tv; fridge; washingmachine; mobile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; car&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fridge&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&amp;nbsp; washing machine&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mobile&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; color: #141823; background-color: #f6f7f8;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN data-reactid=".2q.1:3:1:$comment494058684029067_494063417361927:0.0.$right.0.$left.0.0.0:$comment-body.0.3.0.$end:0:$6:0" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; b&amp;nbsp;&amp;nbsp; b&amp;nbsp; b &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Car; fridge; phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;car&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fridge&amp;nbsp;&amp;nbsp;&amp;nbsp; Phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;x1 x2 x3 x4 are the other variables which are present in my data set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;Regard,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;venky&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #141823; font-size: 12px; font-style: inherit; background-color: #f6f7f8; font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 18:08:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138078#M27891</guid>
      <dc:creator>pallis</dc:creator>
      <dc:date>2014-04-29T18:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138079#M27892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would help if you know how many products there can be as a maximum.&lt;/P&gt;&lt;P&gt;Could be solved by using an array, do-loop with scan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 18:11:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138079#M27892</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-04-29T18:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138080#M27893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply. The problem here is we don't know how many products are there a person may took finance for single or multiple products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 03:38:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138080#M27893</guid>
      <dc:creator>pallis</dc:creator>
      <dc:date>2014-04-30T03:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138081#M27894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend a different structure, as that will be sparse.&amp;nbsp; This is also easier to generate and summarize later on.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;id product&lt;/P&gt;&lt;P&gt;1 car&lt;/P&gt;&lt;P&gt;1 tv&lt;/P&gt;&lt;P&gt;1 fridge&lt;/P&gt;&lt;P&gt;1 washing machine&lt;/P&gt;&lt;P&gt;2 car&lt;/P&gt;&lt;P&gt;2 fridge&lt;/P&gt;&lt;P&gt;2 phone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 04:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138081#M27894</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-04-30T04:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138082#M27895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct but&amp;nbsp; my data in that column is defined like that. I found of alternative way. the problem is if this variable becomes significant at time of modeling its problem we need to share the logic&amp;nbsp; that apples on there DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 06:29:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138082#M27895</guid>
      <dc:creator>pallis</dc:creator>
      <dc:date>2014-04-30T06:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138083#M27896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. I think this might work for you..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data have;&lt;BR /&gt;infile datalines missover;&lt;BR /&gt;input x1 x2 $ x3 $ x4 $ products :$100.;&lt;BR /&gt;datalines4;&lt;BR /&gt;1&amp;nbsp; a&amp;nbsp;&amp;nbsp; a&amp;nbsp;&amp;nbsp; a&amp;nbsp; car;tv;fridge;washingmachine;mobile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; 2&amp;nbsp;&amp;nbsp; b&amp;nbsp;&amp;nbsp; b&amp;nbsp; b Car;fridge;phone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;;;;;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc sql noprint;&lt;BR /&gt;select put((max(count(products,";"))+1),best.) into :tot from have;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want(drop=i);&lt;BR /&gt;set have;&lt;BR /&gt;array pro(*) $30 product1-product%sysfunc(strip(&amp;amp;tot));&lt;BR /&gt;do i=1 to %sysfunc(strip(&amp;amp;tot));&lt;BR /&gt;pro(i)=scan(products,i,";");&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 07:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138083#M27896</guid>
      <dc:creator>SKK</dc:creator>
      <dc:date>2014-04-30T07:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138084#M27897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this,&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: Consolas;"&gt;Data&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt; a1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;length&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt; product $&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: Consolas;"&gt;10000&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;Product=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 10pt;"&gt;"car; tv; fridge; washingmachine; mobile"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;product=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 10pt;"&gt;"Car; fridge; phone"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;Product=&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 10pt;"&gt;"car1; tv; fridge; washingmachine; mobile;car; tv; fridge; washingmachine; mobile"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;output&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: Consolas;"&gt;Run&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: Consolas;"&gt;%macro&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt; &lt;STRONG&gt;&lt;EM&gt;test&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;data a1;set a1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;dlm= countw(product,&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 10pt;"&gt;';'&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;proc sql noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;select max(dlm) into :max_dlm from a1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;set a1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;%do&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt; i=&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10pt; background: white; font-family: Consolas;"&gt;1&lt;/STRONG&gt; &lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;%to&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt; &amp;amp;&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: teal; font-size: 10pt;"&gt;max_dlm.&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;product&amp;amp;i=scan(product,&amp;amp;i,&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: purple; font-size: 10pt;"&gt;';'&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: blue; font-size: 10pt;"&gt;%end&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background: white; font-family: Consolas;"&gt;%mend&lt;/STRONG&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; background: white; color: black; font-size: 10pt;"&gt;%&lt;STRONG&gt;&lt;EM&gt;test&lt;/EM&gt;&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 08:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138084#M27897</guid>
      <dc:creator>pradeepalankar</dc:creator>
      <dc:date>2014-04-30T08:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138085#M27898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A _jive_internal="true" href="https://communities.sas.com/people/Reeza"&gt;https://communities.sas.com/people/Reeza&lt;/A&gt;, much better layout for reporting/analysis.&lt;/P&gt;&lt;P&gt;And Beauty of it is that to accomplish that, you don't need to know about how many Products there may be, and you don't have to involve arrays. Just use do - until with explicit output.&lt;/P&gt;&lt;P&gt;This could be a way forward - mainly depending in what kind of data resides in the other variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 08:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138085#M27898</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-04-30T08:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138086#M27899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pallis,&lt;/P&gt;&lt;P&gt;I agree with pradeepalankar's solution.&amp;nbsp; Sometimes we cannot change the data source.&amp;nbsp; Architects build databases for reasons that are best for their purposes.&amp;nbsp; P's solution uses the data source as it is given to you.&amp;nbsp; Also, P's solution allows for the use of a scan function to start looking for new products after the position of the fourth semicolon (fifth word)&amp;nbsp; "scan(productlist,4,';')" if you want to ignore the first four products.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 13:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138086#M27899</guid>
      <dc:creator>jwillis</dc:creator>
      <dc:date>2014-04-30T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Data Seperation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138087#M27900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm confused. It sounds like you have the data in one format. Are you uploading it into a database that is restricted to that format?&lt;/P&gt;&lt;P&gt;There is no issue with the Have data set, I have issues with the Want data set. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 14:22:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Data-Seperation/m-p/138087#M27900</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-04-30T14:22:23Z</dc:date>
    </item>
  </channel>
</rss>

