<?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: Mapping in DI Studio in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/453019#M13983</link>
    <description>Are you suggesting me to use  'case when' in expression tab? If not, could&lt;BR /&gt;you please point me to the documentation which you wanted to convey?&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Apr 2018 00:50:37 GMT</pubDate>
    <dc:creator>Babloo</dc:creator>
    <dc:date>2018-04-11T00:50:37Z</dc:date>
    <item>
      <title>Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452825#M13968</link>
      <description>&lt;P&gt;Appreciate if someone of you help me with the best approach to create the following fields. I believe I can use extract transformation but I've to use four extract transformation(one for each variable/field) . Is there any other methods available to accomplish this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that I need to use two different datasets (&lt;SPAN&gt;F_CL_CLAIM &amp;nbsp;and&amp;nbsp;CLAIM&lt;/SPAN&gt;) to create the following variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="845"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="199"&gt;&lt;STRONG&gt;Input Table&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="96"&gt;&lt;STRONG&gt;Input Field&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="435"&gt;&lt;STRONG&gt;Mapping Condition&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="115"&gt;&lt;STRONG&gt;Output Field&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;F_CL_CLAIM&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;amt&lt;/TD&gt;
&lt;TD&gt;CLAIM.CLAIM_AMT_TYPE_CD='2'&amp;nbsp; and SUBTYPE_CD='2'&lt;/TD&gt;
&lt;TD&gt;NVK&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;F_CL_CLAIM&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;amt&lt;/TD&gt;
&lt;TD&gt;CLAIM.CLAIM_AMT_TYPE_CD='2'&amp;nbsp; and SUBTYPE_CD='1'&lt;/TD&gt;
&lt;TD&gt;SRK&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;F_CL_CLAIM&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;amt&lt;/TD&gt;
&lt;TD&gt;CLAIM.CLAIM_AMT_TYPE_CD='3'&amp;nbsp; and SUBTYPE_CD='1'&lt;/TD&gt;
&lt;TD&gt;SNK&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;F_CL_CLAIM&amp;nbsp;&lt;/TD&gt;
&lt;TD&gt;amt&lt;/TD&gt;
&lt;TD&gt;CLAIM.CLAIM_AMT_TYPE_CD='2'&amp;nbsp; and SUBTYPE_CD='3'&lt;/TD&gt;
&lt;TD&gt;TRK&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 10 Apr 2018 13:51:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452825#M13968</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-10T13:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452897#M13972</link>
      <description>&lt;P&gt;If you need two&amp;nbsp;tables extract is not the transformation to use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sounds like a typical SQL Join scenario.&lt;/P&gt;
&lt;P&gt;And you don't need a separate transformation for each column calculation...? Just define the case logic for each column in the transformation.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:00:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452897#M13972</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-10T17:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452901#M13973</link>
      <description>Yes, I no need to use separate transformation for each column. I need to&lt;BR /&gt;create only one table which has all those four columns.&lt;BR /&gt;&lt;BR /&gt;Could you please help me understand how I can use case when logic or join&lt;BR /&gt;transformation here?&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2018 17:08:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452901#M13973</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-10T17:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452977#M13976</link>
      <description>Is right there in the mappings. &lt;BR /&gt;You could either so the full point-and-click which is a bit cumbersome, or just write the syntax as services mapping.&lt;BR /&gt;See doc and/or help pages within the application for details.</description>
      <pubDate>Tue, 10 Apr 2018 21:59:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/452977#M13976</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-10T21:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/453019#M13983</link>
      <description>Are you suggesting me to use  'case when' in expression tab? If not, could&lt;BR /&gt;you please point me to the documentation which you wanted to convey?&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2018 00:50:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/453019#M13983</guid>
      <dc:creator>Babloo</dc:creator>
      <dc:date>2018-04-11T00:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping in DI Studio</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/453207#M13985</link>
      <description>&lt;P&gt;You can also try this code in the expression field (functions are usually most efficient):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IFN(CLAIM.CLAIM_AMT_TYPE_CD = '2' AND CLAIM.SUBTYPE_CD = '2', F_CL_CLAIM.AMT, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This IFN function returns the result (AMT)&amp;nbsp;if condition is true, otherwise returns 0 (or any other value you want). Remember to map all input fields to the expression (using the SQL Join).&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 13:40:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Mapping-in-DI-Studio/m-p/453207#M13985</guid>
      <dc:creator>Erik_Zencos</dc:creator>
      <dc:date>2018-04-11T13:40:46Z</dc:date>
    </item>
  </channel>
</rss>

