<?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: Performance issues in sorting Large Data Set in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63108#M17945</link>
    <description>Pratik,&lt;BR /&gt;
&lt;BR /&gt;
You will probably have to experiment with this as there are so many variables and some of them a host specific.&lt;BR /&gt;
&lt;BR /&gt;
Try the TAGSORT option; that can sometimes speed up a sort by reducing disk I/O.&lt;BR /&gt;
&lt;BR /&gt;
Unless you have text with lots of white-space, the compress=yes can actually slow down SAS.&lt;BR /&gt;
&lt;BR /&gt;
z/OS installations often use non-SAS sort tools (we used SyncSort years ago).  You may be able to speed it up by passing parameters directly to the tool.  Check SAS's z/OS companion.&lt;BR /&gt;
&lt;BR /&gt;
Another possibility is to use PROC SQL.  I don't know that it would speed it up, but do know that it uses different SAS routines.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
    <pubDate>Thu, 12 Aug 2010 19:17:11 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2010-08-12T19:17:11Z</dc:date>
    <item>
      <title>Performance issues in sorting Large Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63106#M17943</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I am having performance issues in sorting huge SAS datasets in z/OS.&lt;BR /&gt;
Options Used:&lt;BR /&gt;
options compress=yes reuse=yes STATS MEMRPT FULLSTIMER MSGLEVEL=I bufsize=0 &lt;BR /&gt;
bufno=10 SORTSIZE=MAX UBUFNO = 20 THREADS dbsliceparm=(threaded_apps,4);&lt;BR /&gt;
&lt;BR /&gt;
No of Records: 48 Million.&lt;BR /&gt;
LRECL= 800&lt;BR /&gt;
No of columns in proc sort: 9&lt;BR /&gt;
Sort Utility: z/Os Host DF Sort&lt;BR /&gt;
proc sort data = work.Source &lt;BR /&gt;
          out = work.Target&lt;BR /&gt;
          NOEQUALS; &lt;BR /&gt;
   by CRED_NO DBTR_GRP_NO SEC_NO CUST_NO REC_ID REC_TYP TRANS_CD TXT_TYPE_ID REC_NO; &lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
Time Taken: 30 mins!!&lt;BR /&gt;
&lt;BR /&gt;
Can some one please suggest how can I reduce this time.</description>
      <pubDate>Thu, 12 Aug 2010 14:14:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63106#M17943</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-08-12T14:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues in sorting Large Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63107#M17944</link>
      <description>Please post the log messages as well. Considering the options you have set, you should have a plenty of them. Be sure to specify option SORTMSG as well.</description>
      <pubDate>Thu, 12 Aug 2010 14:21:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63107#M17944</guid>
      <dc:creator>Robert_Bardos</dc:creator>
      <dc:date>2010-08-12T14:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues in sorting Large Data Set</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63108#M17945</link>
      <description>Pratik,&lt;BR /&gt;
&lt;BR /&gt;
You will probably have to experiment with this as there are so many variables and some of them a host specific.&lt;BR /&gt;
&lt;BR /&gt;
Try the TAGSORT option; that can sometimes speed up a sort by reducing disk I/O.&lt;BR /&gt;
&lt;BR /&gt;
Unless you have text with lots of white-space, the compress=yes can actually slow down SAS.&lt;BR /&gt;
&lt;BR /&gt;
z/OS installations often use non-SAS sort tools (we used SyncSort years ago).  You may be able to speed it up by passing parameters directly to the tool.  Check SAS's z/OS companion.&lt;BR /&gt;
&lt;BR /&gt;
Another possibility is to use PROC SQL.  I don't know that it would speed it up, but do know that it uses different SAS routines.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Thu, 12 Aug 2010 19:17:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Performance-issues-in-sorting-Large-Data-Set/m-p/63108#M17945</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-08-12T19:17:11Z</dc:date>
    </item>
  </channel>
</rss>

