<?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: User Defined Formats Issue in EG 4.2 (ERROR: Sort execution failure.) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53110#M5643</link>
    <description>Thanks, Doc.  It ended up just being a 32 bit vs 64 bit issue for a few random formats sitting in a smaller catalog.  I was able to fix it using proc format cntlout / cntlin.  I'm glad I figured it out before tech support.</description>
    <pubDate>Wed, 21 Jul 2010 12:09:53 GMT</pubDate>
    <dc:creator>jklein271</dc:creator>
    <dc:date>2010-07-21T12:09:53Z</dc:date>
    <item>
      <title>User Defined Formats Issue in EG 4.2 (ERROR: Sort execution failure.)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53108#M5641</link>
      <description>It runs fine when not using custom formats in the query:&lt;BR /&gt;
&lt;BR /&gt;
            proc sql;&lt;BR /&gt;
                  create table universe_national as   &lt;BR /&gt;
                        select      Month,&lt;BR /&gt;
/*                                  PUT(zipcode,$fzipcn.) as Region_Code,*/&lt;BR /&gt;
/*                                  PUT(zipcode,$fzipcn.) as Region_Name,*/&lt;BR /&gt;
                                    SUM(universe) as Universe&lt;BR /&gt;
                        from        UNIVERSE.amicount&lt;BR /&gt;
                        where       Month GE '01JAN2000'd and Month LE &amp;amp;current.&lt;BR /&gt;
                        group by    Month/*, Region_Code, Region_Name*/;&lt;BR /&gt;
            quit; &lt;BR /&gt;
&lt;BR /&gt;
NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;
      real time           38.33 seconds&lt;BR /&gt;
      user cpu time       48.38 seconds&lt;BR /&gt;
      system cpu time     2.96 seconds&lt;BR /&gt;
&lt;BR /&gt;
However, it takes 30 minutes to execute and bombs if they are included in the select statement and then in the group by statement:&lt;BR /&gt;
&lt;BR /&gt;
            proc sql;&lt;BR /&gt;
                  create table universe_national as   &lt;BR /&gt;
                        select      Month,&lt;BR /&gt;
                                    PUT(zipcode,$fzipcn.) as Region_Code,&lt;BR /&gt;
                                    PUT(zipcode,$fzipcn.) as Region_Name,&lt;BR /&gt;
                                    SUM(universe) as Universe&lt;BR /&gt;
                        from        UNIVERSE.amicount&lt;BR /&gt;
                        where       Month GE '01JAN2000'd and Month LE &amp;amp;current.&lt;BR /&gt;
                        group by    Month, Region_Code, Region_Name;&lt;BR /&gt;
            quit; &lt;BR /&gt;
&lt;BR /&gt;
ERROR: Sort execution failure.&lt;BR /&gt;
&lt;BR /&gt;
NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;
NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;
      real time           26:07.29&lt;BR /&gt;
      user cpu time       35:52.91&lt;BR /&gt;
      system cpu time     10:54.76</description>
      <pubDate>Tue, 20 Jul 2010 13:36:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53108#M5641</guid>
      <dc:creator>jklein271</dc:creator>
      <dc:date>2010-07-20T13:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Formats Issue in EG 4.2 (ERROR: Sort execution failure.)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53109#M5642</link>
      <description>This is probably an issue with the SAS Server and not with EGuide.  If you search the SAS Support site for&lt;BR /&gt;
SQL User Defined Formats&lt;BR /&gt;
you will see lots of weird problems that occur with different specific SAS Server configurations.  Probably best to contact tech support directly.</description>
      <pubDate>Tue, 20 Jul 2010 15:37:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53109#M5642</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-07-20T15:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: User Defined Formats Issue in EG 4.2 (ERROR: Sort execution failure.)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53110#M5643</link>
      <description>Thanks, Doc.  It ended up just being a 32 bit vs 64 bit issue for a few random formats sitting in a smaller catalog.  I was able to fix it using proc format cntlout / cntlin.  I'm glad I figured it out before tech support.</description>
      <pubDate>Wed, 21 Jul 2010 12:09:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Defined-Formats-Issue-in-EG-4-2-ERROR-Sort-execution/m-p/53110#M5643</guid>
      <dc:creator>jklein271</dc:creator>
      <dc:date>2010-07-21T12:09:53Z</dc:date>
    </item>
  </channel>
</rss>

