<?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: Exporting with Formats and Column Widths in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Exporting-with-Formats-and-Column-Widths/m-p/429493#M281461</link>
    <description>&lt;P&gt;1- Out of memory error with proc print??&lt;/P&gt;
&lt;P&gt;How large is the table? How long are the variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2- ....&amp;nbsp;&lt;SPAN&gt;a way to eliminate the report file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Like this:&amp;nbsp; &lt;FONT face="courier new,courier"&gt;ODS _all_ close;&amp;nbsp;&lt;/FONT&gt; ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- Many resources about formatting excel columns, just search.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf" target="_blank"&gt;https://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-change-the-column-width-with-ods-excel-sas-9-4/td-p/317142" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-change-the-column-width-with-ods-excel-sas-9-4/td-p/317142&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jan 2018 21:20:17 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-01-21T21:20:17Z</dc:date>
    <item>
      <title>Exporting with Formats and Column Widths</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-with-Formats-and-Column-Widths/m-p/428915#M281460</link>
      <description>&lt;P&gt;I have a customer file that is all formatted the way we want (including some currency formats). I have written a macro that lets the user enter the customer numbers they want and the output is Excel, but only via proc export. I need to be able to ensure that ALL FORMATS (including currency) are passed through to the resulting Excel files. I also need to ensure that all column widths are 12. I am not experienced in ODS, so I'm hoping some quick code from the experts here can help me learn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had started with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ods listing close;
ods html close;
goptions device=actximg;

ods excel file="\\NCRFP4\TAF\Traffic Forecasting\TFM 3.0\Refund_&amp;amp;custID.xlsx";
ods excel options(start_at="1,1" sheet_name="&amp;amp;CustID" sheet_interval="table" embedded_titles='yes');
proc print data=EGTASK.RUNWAY_&amp;amp;CustID noobs; run;
ods excel close;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;but I don't think proc print is what is to be used as I got an out of memory error.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;Also, is there a way to eliminate the report file that is made with ODS?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;thx!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2018 20:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-with-Formats-and-Column-Widths/m-p/428915#M281460</guid>
      <dc:creator>BCNAV</dc:creator>
      <dc:date>2018-01-18T20:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting with Formats and Column Widths</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Exporting-with-Formats-and-Column-Widths/m-p/429493#M281461</link>
      <description>&lt;P&gt;1- Out of memory error with proc print??&lt;/P&gt;
&lt;P&gt;How large is the table? How long are the variables?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2- ....&amp;nbsp;&lt;SPAN&gt;a way to eliminate the report file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Like this:&amp;nbsp; &lt;FONT face="courier new,courier"&gt;ODS _all_ close;&amp;nbsp;&lt;/FONT&gt; ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3- Many resources about formatting excel columns, just search.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For example:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf" target="_blank"&gt;https://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-change-the-column-width-with-ods-excel-sas-9-4/td-p/317142" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-change-the-column-width-with-ods-excel-sas-9-4/td-p/317142&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 21:20:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Exporting-with-Formats-and-Column-Widths/m-p/429493#M281461</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-01-21T21:20:17Z</dc:date>
    </item>
  </channel>
</rss>

