<?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: export into excel incl. format-settings in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/784860#M250456</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;Is sas running on your local computer or a server? If it runs on a server, the admins may be able to increase the memory, if that does not cause other trouble. If sas runs on your local computer: how much memory does it have?&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sas is running on a server. Im not sure, if an admin could increase the memory. The result of your Code...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc options group=memory;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;group=MEMORY
 SORTSIZE=1073741824
                   Specifies the amount of memory that is available to the SORT procedure.
 SUMSIZE=0         Specifies a limit on the amount of memory that is available for data summarization procedures when class 
                   variables are active.
 MAXMEMQUERY=0     Specifies the maximum amount of memory that is allocated for procedures.
 MEMBLKSZ=16777216 Specifies the memory block size for Windows memory-based libraries.
 MEMMAXSZ=2147483648
                   Specifies the maximum amount of memory to allocate for using memory-based libraries.
 LOADMEMSIZE=0     Specifies a suggested amount of memory that is needed for executable programs loaded by SAS.
 MEMSIZE=2147483648
                   Specifies the limit on the amount of virtual memory that can be used during a SAS session.
 REALMEMSIZE=0     Specifies the amount of real memory SAS can expect to allocate.
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be shifted by the "BEST" format.
NOTE: PROZEDUR OPTIONS used (Total process time):
      real time           0.15 seconds
      cpu time            0.00 seconds&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is:&lt;/P&gt;
&lt;P&gt;The download-option (proc export, proc report) is no option. So I have to copy-paste the result of my code into excel. That would be okay, cause the format is almost perfect. The only problem is the minus. As I said, I use following format-code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format ;
  value test .="-" other=[numx.6];
run;&lt;/PRE&gt;
&lt;P&gt;When I copy-paste the SAS-Output into excel, the minus is a cell with a length of 40 (1x minus and 39x blank spaces). Within SAS it looks normal. What is the reason for that? I mean...it actually needs only few min to search and replace it within excel. But its one more step I would like to spare. Have you a solution for that? Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 09:31:12 GMT</pubDate>
    <dc:creator>Konkordanz</dc:creator>
    <dc:date>2021-12-08T09:31:12Z</dc:date>
    <item>
      <title>export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783348#M249757</link>
      <description>&lt;P&gt;Hello forum,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My big dataset (~44.000*16 cells) has numeric columns, which has the following fomat:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format ;
  value test .="-" other=[numx.6];
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The output within works. Now I want to download it into a excel-file. What is the best way for doing that (incl. format-setting)?&lt;/P&gt;
&lt;P&gt;I tried it for example with the button "senden an" (english: "send to"). But this step delets the format. For an proc-report-step or an proc-print-step in combination with an export-command seems impossible...probably because the size of my dataset (test: it works with a filtered dataset). Is it possible, that the only way for me the copy-paste-step is?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Thank you!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 09:59:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783348#M249757</guid>
      <dc:creator>Konkordanz</dc:creator>
      <dc:date>2021-12-01T09:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783349#M249758</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="";
proc print data= your_data noobs;
run;
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Should work with rather small datasets, like yours.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 10:06:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783349#M249758</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-01T10:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783359#M249760</link>
      <description>&lt;P&gt;That doesnt work. Sas means: "ERROR: The SAS System stopped processing this step because of insufficient memory."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 10:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783359#M249760</guid>
      <dc:creator>Konkordanz</dc:creator>
      <dc:date>2021-12-01T10:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783543#M249858</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/388612"&gt;@Konkordanz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;That doesnt work. Sas means: "ERROR: The SAS System stopped processing this step because of insufficient memory."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ok, this is unexpected. Please use&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options group=memory;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to check how much memory is available in your sas session. Is sas running on your local computer or a server? If it runs on a server, the admins may be able to increase the memory, if that does not cause other trouble. If sas runs on your local computer: how much memory does it have?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 05:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/783543#M249858</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-02T05:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/784860#M250456</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;Is sas running on your local computer or a server? If it runs on a server, the admins may be able to increase the memory, if that does not cause other trouble. If sas runs on your local computer: how much memory does it have?&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sas is running on a server. Im not sure, if an admin could increase the memory. The result of your Code...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc options group=memory;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;...is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;group=MEMORY
 SORTSIZE=1073741824
                   Specifies the amount of memory that is available to the SORT procedure.
 SUMSIZE=0         Specifies a limit on the amount of memory that is available for data summarization procedures when class 
                   variables are active.
 MAXMEMQUERY=0     Specifies the maximum amount of memory that is allocated for procedures.
 MEMBLKSZ=16777216 Specifies the memory block size for Windows memory-based libraries.
 MEMMAXSZ=2147483648
                   Specifies the maximum amount of memory to allocate for using memory-based libraries.
 LOADMEMSIZE=0     Specifies a suggested amount of memory that is needed for executable programs loaded by SAS.
 MEMSIZE=2147483648
                   Specifies the limit on the amount of virtual memory that can be used during a SAS session.
 REALMEMSIZE=0     Specifies the amount of real memory SAS can expect to allocate.
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be shifted by the "BEST" format.
NOTE: PROZEDUR OPTIONS used (Total process time):
      real time           0.15 seconds
      cpu time            0.00 seconds&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is:&lt;/P&gt;
&lt;P&gt;The download-option (proc export, proc report) is no option. So I have to copy-paste the result of my code into excel. That would be okay, cause the format is almost perfect. The only problem is the minus. As I said, I use following format-code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc format ;
  value test .="-" other=[numx.6];
run;&lt;/PRE&gt;
&lt;P&gt;When I copy-paste the SAS-Output into excel, the minus is a cell with a length of 40 (1x minus and 39x blank spaces). Within SAS it looks normal. What is the reason for that? I mean...it actually needs only few min to search and replace it within excel. But its one more step I would like to spare. Have you a solution for that? Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 09:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/784860#M250456</guid>
      <dc:creator>Konkordanz</dc:creator>
      <dc:date>2021-12-08T09:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: export into excel incl. format-settings</title>
      <link>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/785082#M250535</link>
      <description>&lt;P&gt;I ignore your comments regarding excel, i hardly use this time-sink.&lt;/P&gt;
&lt;P&gt;You should contact your sas-admins, having no limit on realmemsize together with the error message means that the system has not enough memory or others are using to much of it.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 06:35:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/export-into-excel-incl-format-settings/m-p/785082#M250535</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2021-12-09T06:35:12Z</dc:date>
    </item>
  </channel>
</rss>

