<?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: SAS pulling data incorrectly from Informix in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255388#M48766</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16697"&gt;@chimanbj﻿&lt;/a&gt;&amp;nbsp;Please post your code.&lt;/P&gt;
&lt;P&gt;Also, I would consider contacting SAS Tech Support regarding this.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 22:29:16 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-03-08T22:29:16Z</dc:date>
    <item>
      <title>SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255345#M48756</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are running SAS 9.4 (TS1M3), and have found a bizzare problem.&amp;nbsp; When pulling data from an Informix database, we are finding that SAS is not re-initializing fields after every record.&amp;nbsp; This is resulting in data from the previous record being put into the subsequent record, if the subsequent record is blank.&lt;/P&gt;
&lt;P&gt;Here is an example, for clarity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Informix -&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Record 1 -&amp;gt; Total Charge value of 5494.32&lt;/LI&gt;
&lt;LI&gt;Record 2 -&amp;gt; Total Charge is missing&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;With SAS -&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Record 1 -&amp;gt; Total Charge value of 5494.32&lt;/LI&gt;
&lt;LI&gt;Record 2 -&amp;gt; Total Charge value of 5495.32&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The SAS information was determined by using Proc Print.&amp;nbsp; The connection is made with a libname statement (libname state informix server=dbname).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has anyone seen this, and can tell me what might be causing this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 19:53:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255345#M48756</guid>
      <dc:creator>chimanbj</dc:creator>
      <dc:date>2016-03-08T19:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255349#M48757</link>
      <description>&lt;P&gt;Did you create a SAS data set? If so please show the code in addition to the libname statement.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255349#M48757</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-03-08T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255355#M48759</link>
      <description>&lt;P&gt;And does your code have the word RETAIN in it anywhere? If so, that's likely your issue.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:15:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255355#M48759</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-08T20:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255357#M48761</link>
      <description>&lt;P&gt;Please post the SAS step that is reading the data. &amp;nbsp;Perhaps you have accidentally codes a many-to-many merge?&lt;/P&gt;
&lt;P&gt;For example here is code that merges 3 observations with 2 observations.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data one;
   input id arow avalue ;
cards;
1 1 10
1 2 20
1 3 30
;
data two ;
   input id brow bvalue;
cards;
1 1 5
1 2 15
;
data both;
  merge one two ;
  by id;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Notice that in the resulting output the last record from TWO is repeated since there are no new records read to overwrite the values.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;id    arow    avalue    brow    bvalue
 1      1       10        1        5
 1      2       20        2       15
 1      3       30        2       15&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Mar 2016 20:34:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255357#M48761</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2016-03-08T20:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255378#M48763</link>
      <description>&lt;P&gt;The issue is happening during a PROC PRINT.&amp;nbsp; Others have reported the same issue with a Data Step.&amp;nbsp; I wish it were as simple as a Data Step.&amp;nbsp; I'm thinking it has something to do with the Informix driver, but I'm not sure...&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 22:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255378#M48763</guid>
      <dc:creator>chimanbj</dc:creator>
      <dc:date>2016-03-08T22:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255388#M48766</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16697"&gt;@chimanbj﻿&lt;/a&gt;&amp;nbsp;Please post your code.&lt;/P&gt;
&lt;P&gt;Also, I would consider contacting SAS Tech Support regarding this.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 22:29:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255388#M48766</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-08T22:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255392#M48768</link>
      <description>&lt;P&gt;Here is the code:&lt;/P&gt;
&lt;P&gt;libname dblib informix server=dbname;&lt;BR /&gt;&lt;BR /&gt;proc print data = dblib.data_table(obs=10110 firstobs=10100);&lt;BR /&gt;format _all_;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 22:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255392#M48768</guid>
      <dc:creator>chimanbj</dc:creator>
      <dc:date>2016-03-08T22:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255463#M48783</link>
      <description>&lt;P&gt;For debugging purposes, use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace=',,,d' sastraceloc=saslog nostsuffix msglevel=i;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, try SQL and/or a data step.&lt;/P&gt;
&lt;P&gt;And explicit&amp;nbsp;SQL pass-thru.&lt;/P&gt;
&lt;P&gt;Any differences in the result?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 08:38:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255463#M48783</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-03-09T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255537#M48805</link>
      <description>&lt;P&gt;Also experiencing this issue&amp;nbsp;on a Linux box.&amp;nbsp; Tested using explicit and pass-through SQL with no difference in results.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 14:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255537#M48805</guid>
      <dc:creator>mattshev</dc:creator>
      <dc:date>2016-03-09T14:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255718#M48893</link>
      <description>Have you contacted tech support? They should be in on this conversation.</description>
      <pubDate>Thu, 10 Mar 2016 03:13:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255718#M48893</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-10T03:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255780#M48901</link>
      <description>&lt;P&gt;Yes, they're on it as we speak.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 14:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/255780#M48901</guid>
      <dc:creator>mattshev</dc:creator>
      <dc:date>2016-03-10T14:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS pulling data incorrectly from Informix</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/256120#M49033</link>
      <description>&lt;P&gt;This was resolved by updating the Informix client software, which was at v3.5.&amp;nbsp; It's unfortunate that no errors or warnings are issued if you&amp;nbsp;have SAS v9.4 and don't update to 4.1 or higher.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the Systems Requirements for SAS 9.4 Foundation for Linux for x64:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;SAS/ACCESS Interface to Informix &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;For SAS 9.4M3 &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DBMS Product Required: &lt;/STRONG&gt;Informix Client SDK 4.10FC4 (64-bit only).&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2016 14:37:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-pulling-data-incorrectly-from-Informix/m-p/256120#M49033</guid>
      <dc:creator>mattshev</dc:creator>
      <dc:date>2016-03-11T14:37:17Z</dc:date>
    </item>
  </channel>
</rss>

