<?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: what is the wrong with this data step? Please help me in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70696#M15287</link>
    <description>This documentation might shed some light over your problem:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a000695157.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a000695157.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
    <pubDate>Wed, 21 Jan 2009 20:53:19 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2009-01-21T20:53:19Z</dc:date>
    <item>
      <title>what is the wrong with this data step? Please help me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70693#M15284</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
The field and the associated vaule in the flat file is follows&lt;BR /&gt;
&lt;BR /&gt;
ORIGINALFACEVALUE&lt;BR /&gt;
=================&lt;BR /&gt;
                         52.92&lt;BR /&gt;
                         52.92&lt;BR /&gt;
&lt;BR /&gt;
I am reading it as @366 ORIGINALFACEVALUE 17.2&lt;BR /&gt;
&lt;BR /&gt;
The field and value in the xls file are as follows&lt;BR /&gt;
ORIGINALFACEVALUE&lt;BR /&gt;
52.92&lt;BR /&gt;
52.92&lt;BR /&gt;
&lt;BR /&gt;
After I import the xls file into to SAS database then I compare using Proc compare to the sas database which I created from the flat file, I see the following results.&lt;BR /&gt;
&lt;BR /&gt;
                       ||  ORIGINALFACEVALUE&lt;BR /&gt;
                       ||       BASE    COMPARE&lt;BR /&gt;
        OBS        ||  ORIGINALF  ORIGINALF      DIFF.     % DIFF&lt;BR /&gt;
                       ||   ACEVALUE   ACEVALUE&lt;BR /&gt;
  ________       ||  _________  _________  _________  _________&lt;BR /&gt;
                       ||&lt;BR /&gt;
                   1  ||    52.9200    52.9200  3.553E-15  6.713E-15&lt;BR /&gt;
                   2  ||    52.9200    52.9200  3.553E-15  6.713E-15&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
This is one example, I have more like this. Can anyone please explain me why this difference?&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much in advance.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
Inp</description>
      <pubDate>Wed, 21 Jan 2009 17:22:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70693#M15284</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2009-01-21T17:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: what is the wrong with this data step? Please help me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70694#M15285</link>
      <description>I'm not sure we can tell from what you've posted just what you're trying to do (or how).  Can you post your data step and/or your proc compare?</description>
      <pubDate>Wed, 21 Jan 2009 19:31:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70694#M15285</guid>
      <dc:creator>PatrickG</dc:creator>
      <dc:date>2009-01-21T19:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: what is the wrong with this data step? Please help me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70695#M15286</link>
      <description>Thanks Patrick,&lt;BR /&gt;
 I can explain simply this, because the process is little complicated. All I am importing a very huge excell file in to SAS database and then ftp to mainframe. Also I  have same information on the mainfram  flat file Now I read flat file and cretated SAS database. Now I am testing by comparing those databases for testing&lt;BR /&gt;
&lt;BR /&gt;
Here is compring step&lt;BR /&gt;
&lt;BR /&gt;
PROC COMPARE BASE=NEWDB COMPARE=OLDDB&lt;BR /&gt;
   LISTBASEVAR LISTCOMPVAR;&lt;BR /&gt;
   TITLE1 " MEMBER:          - DATA";&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
when I read the flat file  from the maifram the data step is as follows&lt;BR /&gt;
&lt;BR /&gt;
DATA REDEEM1;&lt;BR /&gt;
INFILE REDINCOM MISSOVER FIRSTOBS=3;&lt;BR /&gt;
@366 ORIGINALFACEVALUE 17.2  ;&lt;BR /&gt;
&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
DATA REDEMDB.REDEEM;&lt;BR /&gt;
   SET REDEEM1;&lt;BR /&gt;
   RUN;</description>
      <pubDate>Wed, 21 Jan 2009 20:13:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70695#M15286</guid>
      <dc:creator>Inp</dc:creator>
      <dc:date>2009-01-21T20:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: what is the wrong with this data step? Please help me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70696#M15287</link>
      <description>This documentation might shed some light over your problem:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a000695157.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/59522/HTML/default/a000695157.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Wed, 21 Jan 2009 20:53:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70696#M15287</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-01-21T20:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: what is the wrong with this data step? Please help me</title>
      <link>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70697#M15288</link>
      <description>This is due to the difference in storage bits on the 2 platforms.  This is a common problem when migrating numeric data.  Just round your data to 14 decimals after loading to the mainframe and the  problem goes away.&lt;BR /&gt;
&lt;BR /&gt;
Flip</description>
      <pubDate>Wed, 21 Jan 2009 20:54:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/what-is-the-wrong-with-this-data-step-Please-help-me/m-p/70697#M15288</guid>
      <dc:creator>Flip</dc:creator>
      <dc:date>2009-01-21T20:54:44Z</dc:date>
    </item>
  </channel>
</rss>

