<?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: How to create top up logic in SAS MA in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/635017#M1469</link>
    <description>Thanks James...much appreciated for the quick turn around. the code works and the explanation was clear and concise.</description>
    <pubDate>Thu, 26 Mar 2020 12:21:51 GMT</pubDate>
    <dc:creator>keiwo</dc:creator>
    <dc:date>2020-03-26T12:21:51Z</dc:date>
    <item>
      <title>How to create top up logic in SAS MA</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/634864#M1460</link>
      <description>&lt;P&gt;Greetings SASCI colleagues,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Objective: aim to get 1200 + 5% Control = 1300 &amp;nbsp;leads per execution run&lt;/P&gt;&lt;P&gt;Priority 1: use all available volume from the XYZ model&lt;/P&gt;&lt;P&gt;Priority 2: if XYZ volume is not enough then fill with those customers who are mapped to another scoring model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I implement this logic in SAS MA ?&amp;nbsp; I was thinking priority node...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 18:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/634864#M1460</guid>
      <dc:creator>keiwo</dc:creator>
      <dc:date>2020-03-25T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create top up logic in SAS MA</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/634915#M1468</link>
      <description>Hi Keiwo,&lt;BR /&gt;What you are after is a "Prioritised Limit" - unfortunately there isn't a standard node in CI Studio that does this. However with a few lines of code you can implement this in a Process node. Attach the input cells you need to the Process Node (if you are on 6.4 or higher then the Process node has a tab in the UI called Input Nodes which allows you to control the order, prior versions the order in which you attach the nodes is important and set the order they are processed). Then you can use the following code (plus other statement as needed for an MA STP or Code Node):&lt;BR /&gt;               %let limit = 1300;&lt;BR /&gt;data &amp;amp;outtable;&lt;BR /&gt;set &amp;amp;INPUTTABLELIST;&lt;BR /&gt;if _N_ =&amp;lt; &amp;amp;limit;&lt;BR /&gt;run;&lt;BR /&gt;If you create an STP for this you can provide the limit as a user prompt and be flexible about the limit rather than setting it in code.&lt;BR /&gt;Regards&lt;BR /&gt;James&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Mar 2020 22:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/634915#M1468</guid>
      <dc:creator>JamesAnderson</dc:creator>
      <dc:date>2020-03-25T22:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create top up logic in SAS MA</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/635017#M1469</link>
      <description>Thanks James...much appreciated for the quick turn around. the code works and the explanation was clear and concise.</description>
      <pubDate>Thu, 26 Mar 2020 12:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/How-to-create-top-up-logic-in-SAS-MA/m-p/635017#M1469</guid>
      <dc:creator>keiwo</dc:creator>
      <dc:date>2020-03-26T12:21:51Z</dc:date>
    </item>
  </channel>
</rss>

