<?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: Getting attributes used by user in SAS CI in SAS Customer Intelligence</title>
    <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/430087#M784</link>
    <description>&lt;P&gt;Thanks Dmitry&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 17:25:29 GMT</pubDate>
    <dc:creator>AravindPalanichamy</dc:creator>
    <dc:date>2018-01-23T17:25:29Z</dc:date>
    <item>
      <title>Getting attributes used by user in SAS CI</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/429796#M781</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to get the details of attributes used by the users in SAS CI studio.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g., lets say a used a date attributes in CI Studio for filtering or for any purpose. How would i capture this information that this particular user used this attributes in CI Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it stored anywhere in the metadata? Appreciate some help or ideas in fetching these information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to create a job which fetches this information and will send a mail to that user accordingly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Aravind&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 21:42:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/429796#M781</guid>
      <dc:creator>AravindPalanichamy</dc:creator>
      <dc:date>2018-01-22T21:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Getting attributes used by user in SAS CI</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/429888#M782</link>
      <description>&lt;P&gt;Hi Aravind,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the only feasible way to go is to parse CustIntelCore log. It's not easy to fully automate due to some intricacies of the log structure, yet this is possible.&amp;nbsp; Both of us know what are you looking for (datepart function usage) and it's right there in the log, in the queries SQL text.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The only alternative&amp;nbsp;will require using a monstrous combination of technologies and the solution will be&amp;nbsp;much more complicated:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;CustIntelCore log&amp;nbsp; or SAS Metadata to track which campaigns were recently executed / modified&lt;/LI&gt;&lt;LI&gt;Campaign extraction to XML with CI Integration Utility, parsing a very complex XML structure&lt;/LI&gt;&lt;LI&gt;Infomap extraction to XML with proc infomaps, parsing another very complex XML structure&lt;/LI&gt;&lt;LI&gt;Combining information from #2 and #3 to find out which attributes were "dates" and used a datepart function.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That's an overkill and not feasible for the task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 05:06:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/429888#M782</guid>
      <dc:creator>Dmitry_Alergant</dc:creator>
      <dc:date>2018-01-23T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting attributes used by user in SAS CI</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/430087#M784</link>
      <description>&lt;P&gt;Thanks Dmitry&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 17:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/430087#M784</guid>
      <dc:creator>AravindPalanichamy</dc:creator>
      <dc:date>2018-01-23T17:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting attributes used by user in SAS CI</title>
      <link>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/430486#M790</link>
      <description>&lt;P&gt;This is theoretical... maybe worth investigating.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Teradata has a function called query banding. If you are not using Teradata perhaps it has a similar function.&amp;nbsp;If the user id at the time of the process could be used in the query band&amp;nbsp;metadata you could then see usage from the database end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n0p09ar7svz98en1evbfbivj6ac8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=acreldb&amp;amp;docsetTarget=n0p09ar7svz98en1evbfbivj6ac8.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So... in SAS (again theoretically... not sure how &amp;amp;ci_user. could be supplied):&lt;/P&gt;
&lt;P&gt;libname db teradata user=myusr1 password=mypwd1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUERY_BAND="SAS_User_ID=&amp;amp;ci_user.;SAS_Application=CIS;";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Teradata:&lt;/P&gt;
&lt;P&gt;select * from DBC.AccessLogV where queryband like '%SAS_User ID=john_doe%'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 15:25:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Customer-Intelligence/Getting-attributes-used-by-user-in-SAS-CI/m-p/430486#M790</guid>
      <dc:creator>pcapazzi</dc:creator>
      <dc:date>2018-01-24T15:25:27Z</dc:date>
    </item>
  </channel>
</rss>

