<?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: Using DS2 in RTDM SAS Process in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269315#M118</link>
    <description>&lt;P&gt;If you need to work with data grids in DS2 as part of an RTDM decision campaign, you'll need to have an input parameter of type "package tap_table" in your execute() method. The tap_table method has a&amp;nbsp;number of methods to allow you to&amp;nbsp;get row count, add/remove rows, get values from the specified row/column, etc. These are all documented on page 102 of the RTDM Admin Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that there are also lots of calcualted functions you can use in your campaign itself to do things like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Sort the data grid&lt;/LI&gt;
&lt;LI&gt;Select rows&amp;nbsp;with values that match your criteria&lt;/LI&gt;
&lt;LI&gt;Select the top or bottom N rows&amp;nbsp;from a data grid&lt;/LI&gt;
&lt;LI&gt;Join the data grid with another data grid&lt;/LI&gt;
&lt;LI&gt;Get the max, min, average, etc. for the specific column&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;These are documented on page 265 of the RTDM User Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you've retrieved the data grid via a data process, you can also directly reference any of the columns, or you can add a data grid identifier to define&amp;nbsp;column names to reference as well.&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 02:42:54 GMT</pubDate>
    <dc:creator>shill</dc:creator>
    <dc:date>2016-05-10T02:42:54Z</dc:date>
    <item>
      <title>Using DS2 in RTDM SAS Process</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/268836#M105</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a new user to RTDM and am interested in learning more about using DS2 SAS Processes in the tool.&amp;nbsp;I've scoured the internet for examples, but have not had much luck.I'm interested in leveraging the SAS Process to analyze a data grid generated through a Data Process and output variables that can be leveraged in a campaign diagram. Has anyone created a DS2 SAS Process for a similar use case?&amp;nbsp;The version of RTDM is 6.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 15:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/268836#M105</guid>
      <dc:creator>cleprevost</dc:creator>
      <dc:date>2016-05-06T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using DS2 in RTDM SAS Process</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269315#M118</link>
      <description>&lt;P&gt;If you need to work with data grids in DS2 as part of an RTDM decision campaign, you'll need to have an input parameter of type "package tap_table" in your execute() method. The tap_table method has a&amp;nbsp;number of methods to allow you to&amp;nbsp;get row count, add/remove rows, get values from the specified row/column, etc. These are all documented on page 102 of the RTDM Admin Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Keep in mind that there are also lots of calcualted functions you can use in your campaign itself to do things like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Sort the data grid&lt;/LI&gt;
&lt;LI&gt;Select rows&amp;nbsp;with values that match your criteria&lt;/LI&gt;
&lt;LI&gt;Select the top or bottom N rows&amp;nbsp;from a data grid&lt;/LI&gt;
&lt;LI&gt;Join the data grid with another data grid&lt;/LI&gt;
&lt;LI&gt;Get the max, min, average, etc. for the specific column&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;These are documented on page 265 of the RTDM User Guide.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you've retrieved the data grid via a data process, you can also directly reference any of the columns, or you can add a data grid identifier to define&amp;nbsp;column names to reference as well.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 02:42:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269315#M118</guid>
      <dc:creator>shill</dc:creator>
      <dc:date>2016-05-10T02:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using DS2 in RTDM SAS Process</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269462#M122</link>
      <description>&lt;P&gt;Thank you for the response!&amp;nbsp;We are currently leveraging the calculated data item feature, but are interested in explored the DS2 option hoping the validation process may be more streamlined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your statement: "&lt;SPAN&gt;If you've retrieved the data grid via a data process, you can also directly reference any of the columns, or you can add a data grid identifier to define&amp;nbsp;column names to reference as well."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can these columns be referenced directly in a node (e.g. branch) or does it require the use of a calculated data item? Can&amp;nbsp;the column be directly referenced&amp;nbsp;in a decision treatment campaign when the read data process is being performed in the decision campaign?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 14:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269462#M122</guid>
      <dc:creator>cleprevost</dc:creator>
      <dc:date>2016-05-10T14:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using DS2 in RTDM SAS Process</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269583#M124</link>
      <description>&lt;P&gt;You can't use data grids or arrays directly in branches or filters, since you can't compare a discrete&amp;nbsp;value to a list or table. You can, however, use a calculated item against&amp;nbsp;either a data grid variable or against a single column (which is represented as a list-type variable) in those nodes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, you can branch based on whether a column contains a specific value by creating a boolean calculated item called "Contains XYZ?" that does&amp;nbsp;"ARRAYINDEX(&amp;lt;&amp;lt;dataGridIdentifier.myColumnName&amp;gt;&amp;gt;,'XYZ')" which will return a Yes/No that you can branch on.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 22:24:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Using-DS2-in-RTDM-SAS-Process/m-p/269583#M124</guid>
      <dc:creator>shill</dc:creator>
      <dc:date>2016-05-10T22:24:51Z</dc:date>
    </item>
  </channel>
</rss>

