<?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: SQL Server - Insufficient Memory in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SQL-Server-Insufficient-Memory/m-p/569097#M11758</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For information: the SAS Admin told me that, for this given libname, the buffering was limited. He increased this limit and the code is now working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fernando.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 13:49:32 GMT</pubDate>
    <dc:creator>ftenorio</dc:creator>
    <dc:date>2019-06-26T13:49:32Z</dc:date>
    <item>
      <title>SQL Server - Insufficient Memory</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SQL-Server-Insufficient-Memory/m-p/569020#M11753</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I’m running a SAS 9.4 M5 under Linux and I got an error message while extracting data from a SQLSVR libname (note that I added a obs=1, with obs=0 it works).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data error_test;
   set clmcntr2.ccx_historysnapshot_pv (obs=1);
run;
ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Then I decided to check the DB configuration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
connect using clmcntr2 as temp;
select * from connection to temp
(select * from master.sys.configurations);
disconnect from temp;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the same error message.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here is the table’s description:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;create table CLMCNTR2.ccx_historysnapshot_pv&amp;nbsp; (

&amp;nbsp;&amp;nbsp; LoadCommandID num format=20. informat=20. label='LoadCommandID',

&amp;nbsp;&amp;nbsp; PublicID char(20) format=$20. informat=$20. label='PublicID',

&amp;nbsp;&amp;nbsp; ClaimNumber char(40) format=$40. informat=$40. label='ClaimNumber',

&amp;nbsp;&amp;nbsp; PreviousAssignedManager char(1024) format=$1024. informat=$1024. label='PreviousAssignedManager',

&amp;nbsp;&amp;nbsp; CreateTime num format=DATETIME26.7 informat=DATETIME26.7 label='CreateTime',

&amp;nbsp;&amp;nbsp; AssignedManagerReference char(1024) format=$1024. informat=$1024. label='AssignedManagerReference',

&amp;nbsp;&amp;nbsp; PreviousAssignedUser char(1024) format=$1024. informat=$1024. label='PreviousAssignedUser',

&amp;nbsp;&amp;nbsp; AssignedUserReference char(1024) format=$1024. informat=$1024. label='AssignedUserReference',

&amp;nbsp;&amp;nbsp; PreviousAssignedManagerName char(1024) format=$1024. informat=$1024. label='PreviousAssignedManagerName',

&amp;nbsp;&amp;nbsp; UpdateTime num format=DATETIME26.7 informat=DATETIME26.7 label='UpdateTime',

&amp;nbsp;&amp;nbsp; ClaimId num format=20. informat=20. label='ClaimId',

&amp;nbsp;&amp;nbsp; AssignedUser num format=20. informat=20. label='AssignedUser',

&amp;nbsp;&amp;nbsp; ID num format=20. informat=20. label='ID',

&amp;nbsp;&amp;nbsp; PreviousAssignedUserName char(1024) format=$1024. informat=$1024. label='PreviousAssignedUserName',

&amp;nbsp;&amp;nbsp; AssignedManager char(1024) format=$1024. informat=$1024. label='AssignedManager',

&amp;nbsp;&amp;nbsp; AssignedProducer char(1024) format=$1024. informat=$1024. label='AssignedProducer',

&amp;nbsp;&amp;nbsp; CreateUserID num format=20. informat=20. label='CreateUserID',

&amp;nbsp;&amp;nbsp; AssignedUserName char(1024) format=$1024. informat=$1024. label='AssignedUserName',

&amp;nbsp;&amp;nbsp; BeanVersion num format=11. informat=11. label='BeanVersion',

&amp;nbsp;&amp;nbsp; ArchivePartition num format=20. informat=20. label='ArchivePartition',

&amp;nbsp;&amp;nbsp; Retired num format=20. informat=20. label='Retired',

&amp;nbsp;&amp;nbsp; AssignedManagerName char(1024) format=$1024. informat=$1024. label='AssignedManagerName',

&amp;nbsp;&amp;nbsp; AssignedProducerName char(1024) format=$1024. informat=$1024. label='AssignedProducerName',

&amp;nbsp;&amp;nbsp; UpdateUserID num format=20. informat=20. label='UpdateUserID',

&amp;nbsp;&amp;nbsp; PreviousAssignedUserGroup char(1024) format=$1024. informat=$1024. label='PreviousAssignedUserGroup',

&amp;nbsp;&amp;nbsp; AssignedGroup char(1024) format=$1024. informat=$1024. label='AssignedGroup',

&amp;nbsp;&amp;nbsp; Type num format=11. informat=11. label='Type',

&amp;nbsp;&amp;nbsp; PreviousAssignedUserReference char(1024) format=$1024. informat=$1024. label='PreviousAssignedUserReference',

&amp;nbsp;&amp;nbsp; PrevAssignedManagerReference char(1024) format=$1024. informat=$1024. label='PrevAssignedManagerReference'

&amp;nbsp; );

&lt;/PRE&gt;&lt;P&gt;If I drop at least 3 columns (char(1024)), I can generate 2 dataset then join them. The goal is to understand why this behavior is happening, as the same codes work in Production and worked before in Development.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same error occurs via Proc SQL pass-through.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options sastrace=',,d,d' sastraceloc=saslog nostsuffix;

proc sql;
connect using clmcntr2 as temp;
Create table ccx_historysnapshot_pv as
select * from connection to temp
(select top 5 * from ccx_historysnapshot_pv);
disconnect from temp;
quit;

(...)

ACCESS ENGINE: DBMS column name: PrevAssignedManagerReference
ACCESS ENGINE: SAS variable name:  PrevAssignedManagerReference
ACCESS ENGINE: SAS [in]format:  $
ACCESS ENGINE: Exiting ptnam
ACCESS ENGINE: Exiting describ with rc=0X00000000
ACCESS ENGINE: Entering fetch
ERROR: The SAS System stopped processing this step because of insufficient memory.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you any ideas, it would be very nice &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fernando.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 08:50:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SQL-Server-Insufficient-Memory/m-p/569020#M11753</guid>
      <dc:creator>ftenorio</dc:creator>
      <dc:date>2019-06-26T08:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server - Insufficient Memory</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SQL-Server-Insufficient-Memory/m-p/569097#M11758</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For information: the SAS Admin told me that, for this given libname, the buffering was limited. He increased this limit and the code is now working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Fernando.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 13:49:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SQL-Server-Insufficient-Memory/m-p/569097#M11758</guid>
      <dc:creator>ftenorio</dc:creator>
      <dc:date>2019-06-26T13:49:32Z</dc:date>
    </item>
  </channel>
</rss>

