<?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: Issue in Proc export sheet name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537314#M147759</link>
    <description>&lt;P&gt;Try adding this OPTIONS statement before your export code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname = any validmemname = extend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Feb 2019 05:58:41 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-02-21T05:58:41Z</dc:date>
    <item>
      <title>Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537311#M147757</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In proc export for excel I have given sheet name as&lt;/P&gt;&lt;P&gt;sheet='Value Level Terminology';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But am getting the output in excel sheet as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Value_Level_Terminology';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dont want this '_ ' between the sheet names.Does anyone know how to get the output as 'variable mapping'. thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 05:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537311#M147757</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2019-02-21T05:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537314#M147759</link>
      <description>&lt;P&gt;Try adding this OPTIONS statement before your export code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options validvarname = any validmemname = extend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Feb 2019 05:58:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537314#M147759</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-02-21T05:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537315#M147760</link>
      <description>&lt;P&gt;Please post the code used to export the file. Which SAS version are you using?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537315#M147760</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-21T06:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537316#M147761</link>
      <description>&lt;P&gt;am using 9.4 version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc export data=d_outi.variable&lt;BR /&gt;outfile='C\newfolder\pricesheet.xls'&lt;BR /&gt;label dbms=xls replace;&lt;BR /&gt;sheet='variable label';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code i used to export the excel file&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537316#M147761</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2019-02-21T06:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537317#M147762</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/245051"&gt;@Aayushi_17&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;am using 9.4 version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc export data=d_outi.variable&lt;BR /&gt;outfile='C\newfolder\pricesheet.xls'&lt;BR /&gt;label dbms=xls replace;&lt;BR /&gt;sheet='variable label';&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is the code i used to export the excel file&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The options mentioned by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp; don't solve the issue seems to be a feature when creating files in the outdated excel-format xls. Can you change to xlsx?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data=sashelp.class
      outfile="PATH\class.xlsx"
      label dbms=xlsx replace;
   sheet='variable label';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537317#M147762</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-21T06:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537318#M147763</link>
      <description>&lt;P&gt;I tired this but still getting the same output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:09:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537318#M147763</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2019-02-21T06:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537319#M147764</link>
      <description>&lt;P&gt;Thanks this one worked&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 06:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537319#M147764</guid>
      <dc:creator>Aayushi_17</dc:creator>
      <dc:date>2019-02-21T06:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537326#M147768</link>
      <description>The only difference between the codes are dbms=xls(old) and dbms=xlsx. How this fixed this issue?&lt;BR /&gt;Asking this to get a clear clarification.</description>
      <pubDate>Thu, 21 Feb 2019 06:59:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537326#M147768</guid>
      <dc:creator>Satish_Parida</dc:creator>
      <dc:date>2019-02-21T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Proc export sheet name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537327#M147769</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138619"&gt;@Satish_Parida&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;The only difference between the codes are dbms=xls(old) and dbms=xlsx. How this fixed this issue?&lt;BR /&gt;Asking this to get a clear clarification.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Could be a bug/feature in proc export. Afaik xls supports blanks in sheet-names. You will need to contact tech-support for more information.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 07:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Issue-in-Proc-export-sheet-name/m-p/537327#M147769</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2019-02-21T07:04:30Z</dc:date>
    </item>
  </channel>
</rss>

