<?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: Proc SQL in EG converts null numeric values to zero -- why? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150766#M39726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, don't know EG, however in Base you can do:&lt;/P&gt;&lt;P&gt;options missing=&lt;/P&gt;&lt;P&gt;and put whatever you want there.&amp;nbsp; So maybe in your setup you have options missing=0;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2014 15:27:20 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2014-12-15T15:27:20Z</dc:date>
    <item>
      <title>Proc SQL in EG converts null numeric values to zero -- why?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150765#M39725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have run into an issue where proc sql converts null numeric values to 0. See attached code and screenshot below (specifically the "age" column).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is only an issue in Enterprise Guide (Base SAS properly stores the null values as null values). How do I get Enterprise Guide to treat the null value as a null? Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10679i11654BD071B2EFB4/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="eg output -- notice 0 value in age column.png" title="eg output -- notice 0 value in age column.png" /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10680i1A157B11C1148070/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="base sas output -- notice correct null value in age column.png" title="base sas output -- notice correct null value in age column.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 15:25:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150765#M39725</guid>
      <dc:creator>brownjd</dc:creator>
      <dc:date>2014-12-15T15:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL in EG converts null numeric values to zero -- why?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150766#M39726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, don't know EG, however in Base you can do:&lt;/P&gt;&lt;P&gt;options missing=&lt;/P&gt;&lt;P&gt;and put whatever you want there.&amp;nbsp; So maybe in your setup you have options missing=0;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 15:27:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150766#M39726</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2014-12-15T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL in EG converts null numeric values to zero -- why?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150767#M39727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I used the "options missing=." statement to fix the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2014 15:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-SQL-in-EG-converts-null-numeric-values-to-zero-why/m-p/150767#M39727</guid>
      <dc:creator>brownjd</dc:creator>
      <dc:date>2014-12-15T15:44:07Z</dc:date>
    </item>
  </channel>
</rss>

