<?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: Access to the PI System - How to include the &amp;quot;index&amp;quot; column? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246348#M6499</link>
    <description>&lt;P&gt;I was hoping that there was more documentation than I was aware of or that there was an "undocumented feature" that others may have found and/or know about.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We will redirect our questions also to a SAS representative and I will update my posts here if more information comes available&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2016 14:51:52 GMT</pubDate>
    <dc:creator>Resa</dc:creator>
    <dc:date>2016-01-27T14:51:52Z</dc:date>
    <item>
      <title>Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246326#M6495</link>
      <description>&lt;P&gt;In addition&amp;nbsp;to my earlier question "&lt;A href="https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-retrieve-PI-counts/m-p/239124#M6201" target="_blank"&gt;Access to the PI System - How to retrieve PI counts&lt;/A&gt;", I have a new question regarding the Access to the PI System.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we retrieve data from picomp (which&amp;nbsp;produces a seven-column data set that contains the time series data that is stored in each tag) using the Access to the PI System we get the following columns:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Tag: is the name of the PI Point.&lt;/LI&gt;
&lt;LI&gt;Timestamp: is the date and the time, including milliseconds, when the tag value was first recorded.&lt;/LI&gt;
&lt;LI&gt;Value: is the value of the sample, usually numeric. It could also be a character string or a timestamp.&lt;/LI&gt;
&lt;LI&gt;Status: is the status of the sample.&lt;/LI&gt;
&lt;LI&gt;Questionable: is a flag that indicates whether the event has been marked as questionable.&lt;/LI&gt;
&lt;LI&gt;Annotated: is a flag that indicates whether the event has an annotation.&lt;/LI&gt;
&lt;LI&gt;Substituted: is a flag that indicates whether the value has been modified after its original recording.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;However, before we had the Access engine and we retrieved the data using OLEDB there was an additional column named "index".&lt;/P&gt;
&lt;P&gt;This column indicates a sequence number when for the same tag, timestamp combination multiple values are recorded.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since this column is not available within the dataset retrieved using the Access to the PI system we are now faced with duplicates records and no way to distinguish which of the records is the one with the highest sequence number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AFAIK there is no option available to also retrieve the "index" column within the results dataset but maybe I am missing something.&lt;BR /&gt;Anyone any suggestion?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 12:37:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246326#M6495</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2016-01-27T12:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246331#M6496</link>
      <description>&lt;P&gt;Does the OLEDB access method that you used previously still work?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 12:59:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246331#M6496</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-01-27T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246333#M6497</link>
      <description>&lt;P&gt;Since there are no mentioning of index column anywhere&amp;nbsp;in the SAS doc, I think you need to direct this question&amp;nbsp;towards a SAS representative, like a product manager or similar.&lt;/P&gt;
&lt;P&gt;If you learn anything about the issue, please keep us posted.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 13:17:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246333#M6497</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-01-27T13:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246347#M6498</link>
      <description>&lt;P&gt;Yes, the OLEDB access also does still work however there are several advantages in using the Access to PI product when retrieving measures, like the time in which the data is retrieved from PI and the way that you can indicate for which tags you would like to retrieve data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On the other hand if the questions I have now posted on Access to PI can not be resolved we just may have to fall back on the OLEDB method and consider the Access to PI product as obsolete.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246347#M6498</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2016-01-27T14:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246348#M6499</link>
      <description>&lt;P&gt;I was hoping that there was more documentation than I was aware of or that there was an "undocumented feature" that others may have found and/or know about.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We will redirect our questions also to a SAS representative and I will update my posts here if more information comes available&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:51:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/246348#M6499</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2016-01-27T14:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/259614#M7087</link>
      <description>&lt;P&gt;UPDATE: This issue, particularly the duplicate entries, has been raised with Technical Support.&lt;/P&gt;
&lt;P&gt;For me it is not completely sure whether it is currently seen as a defect or a request for a new feature.&lt;/P&gt;
&lt;P&gt;Basic outcome is that the index column is currently not available and therefor duplicates may occur when records are retrieved using the Access to the PI System&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/259614#M7087</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2016-03-29T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Access to the PI System - How to include the "index" column?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/314017#M8978</link>
      <description>&lt;P&gt;As of SAS Release 9.4 M4 it will be possible to include the index column in the output by means of the SHOWINDEX data set option.&lt;/P&gt;
&lt;P&gt;This is one of the new &lt;A href="http://support.sas.com/documentation/cdl/en/acpi/69803/HTML/default/viewer.htm#p0ztdl1ml1swwnn136u1tobj7s3p.htm" target="_blank"&gt;data set options&lt;/A&gt; that has become available.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From the documentation:&lt;/P&gt;
&lt;H4 class="xis-argument"&gt;SHOWINDEX=&lt;SPAN class="xis-argOption"&gt;&amp;lt;YES&amp;gt;&lt;/SPAN&gt; | &lt;SPAN class="xis-argOption"&gt;&amp;lt;NO&amp;gt;&lt;/SPAN&gt;&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;specifies whether to include column _index in the Picomp table that indicates the index corresponding to a timestamp. The index value is 1 when there is only one observation for a given timestamp. The index value increments by one for each additional observation that is recorded with the same timestamp. The _index column enables you to create a unique key for each observation.&lt;/P&gt;
&lt;DIV id="p1ry00uu83mac6n1ifm94gp1rure" class="xis-paraSimple"&gt;Two observations are considered to occur at the same time when their timestamps differ by less than 0.001 seconds (1 ms).&lt;/DIV&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xis-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD class="xis-summaryText"&gt;NO&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Nov 2016 09:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Access-to-the-PI-System-How-to-include-the-quot-index-quot/m-p/314017#M8978</guid>
      <dc:creator>Resa</dc:creator>
      <dc:date>2016-11-24T09:17:59Z</dc:date>
    </item>
  </channel>
</rss>

