<?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 DI to split the rows based on condition in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588449#M17984</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;for reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to split the data based on column "type " where it&amp;nbsp; hold values like "666" ,"hhh " where type="666" and type="hhh"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and i need to keep data only for last 6 records for type="666" but not for type"hhh" please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sorry if this doesnot make any sense to you please.please help on best way to do this please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks patrick for standard advice.iam following&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 07:37:43 GMT</pubDate>
    <dc:creator>JJP1</dc:creator>
    <dc:date>2019-09-13T07:37:43Z</dc:date>
    <item>
      <title>SAS DI to split the rows based on condition</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588193#M17982</link>
      <description>&lt;P&gt;i am trying to create job where splitting the dataset based on below condition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;type='ggg' &amp;amp; date &amp;gt;=6monthsold&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please note that type and date are columns.iam using splitter transformation.would you please suggest how can i write condition under&amp;nbsp; "Subset Data". in splitter transformation pease&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 12:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588193#M17982</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-09-12T12:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI to split the rows based on condition</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588425#M17983</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256123"&gt;@JJP1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the Splitter Transformation you've got 1 source and n targets. You then can define the row selection criteria by target.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The syntax you've posted could be such a condition for one target table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure what else I could tell you that's not also documented in detail.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etlug/65016/HTML/default/viewer.htm#p13z8u5ou5fm8rn17fqv7o5a7046.htm" target="_blank" rel="noopener"&gt;http://support.sas.com/documentation/cdl/en/etlug/65016/HTML/default/viewer.htm#p13z8u5ou5fm8rn17fqv7o5a7046.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My standard advice is always: Look into the generated code as this lets you understand how things that you define in the transformation translate into generated code.Once you understand this relationship transformations become "demystified" and you can tweak them much better.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 03:19:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588425#M17983</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-09-13T03:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI to split the rows based on condition</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588449#M17984</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;for reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to split the data based on column "type " where it&amp;nbsp; hold values like "666" ,"hhh " where type="666" and type="hhh"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and i need to keep data only for last 6 records for type="666" but not for type"hhh" please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sorry if this doesnot make any sense to you please.please help on best way to do this please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks patrick for standard advice.iam following&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 07:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588449#M17984</guid>
      <dc:creator>JJP1</dc:creator>
      <dc:date>2019-09-13T07:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI to split the rows based on condition</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588651#M17989</link>
      <description>&lt;P&gt;It sounds a bit confusing (at least to me), please exemplify using sample input and output data.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 19:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588651#M17989</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-09-13T19:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI to split the rows based on condition</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588706#M17990</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/256123"&gt;@JJP1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't know how your source data looks like. Why don't you post a SAS Data step which creates a representative sample of your source data. Then show us how the two target data sets need to look like and explain the logic required for splitting.&lt;/P&gt;
&lt;P&gt;May be forget about DIS in the moment. Let's just get something working with simple SAS datastep code. Once we've got something working then converting the logic into DIS shouldn't be that hard anymore.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 08:02:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-to-split-the-rows-based-on-condition/m-p/588706#M17990</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-09-14T08:02:21Z</dc:date>
    </item>
  </channel>
</rss>

