<?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 ignores formats that are not loaded, without producing an error in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/147999#M11643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EG sets the NOFMTERR option, which controls the behavior you're seeing.&amp;nbsp; See background here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2009/10/20/do-me-a-favor-stop-doing-me-favors/" title="http://blogs.sas.com/content/sasdummy/2009/10/20/do-me-a-favor-stop-doing-me-favors/"&gt; Do me a favor: stop doing me favors - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change this by submitting OPTIONS FMTERR; in your program, reversing the default behavior set by EG at startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 17:46:31 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2014-08-04T17:46:31Z</dc:date>
    <item>
      <title>Proc SQL ignores formats that are not loaded, without producing an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/147998#M11642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;SAS-EG version 5.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;In SAS-EG, the data step gives an error, but proc sql doesn't.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;In SAS-EG, proc sql just ignores those formats that are not loaded and outputs unformatted data&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Is this by design?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Is there a system option or a preference that would show this kind of an error?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;(I couldn't find one)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Proc sql in Base SAS gives an error, saying that the format could not be loaded -- in both data step and proc SQL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Sample code (first format is real, second format is fake but doesn't produce an error in SAS-EG)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10.0pt; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10.0pt; font-family: 'Courier New';"&gt;sql&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; select&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; height format=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal;"&gt;comma10.5&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; ht1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,height format=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: teal;"&gt;comet10.5&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt; ht2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Courier New'; color: blue;"&gt;&amp;nbsp; from&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp; sashelp.class&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;STRONG style="color: navy; font-size: 10.0pt; font-family: 'Courier New';"&gt;quit&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New'; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 17:41:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/147998#M11642</guid>
      <dc:creator>agoldma</dc:creator>
      <dc:date>2014-08-04T17:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL ignores formats that are not loaded, without producing an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/147999#M11643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EG sets the NOFMTERR option, which controls the behavior you're seeing.&amp;nbsp; See background here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://blogs.sas.com/content/sasdummy/2009/10/20/do-me-a-favor-stop-doing-me-favors/" title="http://blogs.sas.com/content/sasdummy/2009/10/20/do-me-a-favor-stop-doing-me-favors/"&gt; Do me a favor: stop doing me favors - The SAS Dummy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change this by submitting OPTIONS FMTERR; in your program, reversing the default behavior set by EG at startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 17:46:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/147999#M11643</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-08-04T17:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc SQL ignores formats that are not loaded, without producing an error</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/148000#M11644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Thank you very much for pointing me to the FMTERR option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;I should've looked a little further -- to system options, not just SQL options&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;My small confusion is that SAS-EG does produce a format error in the data step -- just not in proc sql -- that's why I was looking for an sql option.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 1.0pt; margin-bottom: 1.0pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Thank you for instructions on viewing the initialization log. This is nice to know.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 18:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-SQL-ignores-formats-that-are-not-loaded-without-producing/m-p/148000#M11644</guid>
      <dc:creator>agoldma</dc:creator>
      <dc:date>2014-08-04T18:14:39Z</dc:date>
    </item>
  </channel>
</rss>

