<?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 xls file from ODS in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9612#M2951</link>
    <description>Hi SAS users,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to export xls file using ODS. Unfortunately one from variables (account number) looking like this, for example:&lt;BR /&gt;
19113011502011000006800006&lt;BR /&gt;
&lt;BR /&gt;
When I use code:&lt;BR /&gt;
&lt;BR /&gt;
Ods msoffice2k file="C:\temp\File_XLS..xls" style=statdoc newfile=bygroup;&lt;BR /&gt;
&lt;BR /&gt;
Data _null_;&lt;BR /&gt;
Title "MY raport";&lt;BR /&gt;
Set File_to_export;&lt;BR /&gt;
File print Ods;&lt;BR /&gt;
Put _ods_;&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
Ods _all_ close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
…my variable account number looking like this:&lt;BR /&gt;
8,9113011502009E+25&lt;BR /&gt;
&lt;BR /&gt;
What I have to do to repair this ?&lt;BR /&gt;
&lt;BR /&gt;
Sorry for my English &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;
Regards, Kosa</description>
    <pubDate>Tue, 08 Apr 2008 06:06:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-04-08T06:06:06Z</dc:date>
    <item>
      <title>xls file from ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9612#M2951</link>
      <description>Hi SAS users,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to export xls file using ODS. Unfortunately one from variables (account number) looking like this, for example:&lt;BR /&gt;
19113011502011000006800006&lt;BR /&gt;
&lt;BR /&gt;
When I use code:&lt;BR /&gt;
&lt;BR /&gt;
Ods msoffice2k file="C:\temp\File_XLS..xls" style=statdoc newfile=bygroup;&lt;BR /&gt;
&lt;BR /&gt;
Data _null_;&lt;BR /&gt;
Title "MY raport";&lt;BR /&gt;
Set File_to_export;&lt;BR /&gt;
File print Ods;&lt;BR /&gt;
Put _ods_;&lt;BR /&gt;
Run;&lt;BR /&gt;
&lt;BR /&gt;
Ods _all_ close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
…my variable account number looking like this:&lt;BR /&gt;
8,9113011502009E+25&lt;BR /&gt;
&lt;BR /&gt;
What I have to do to repair this ?&lt;BR /&gt;
&lt;BR /&gt;
Sorry for my English &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;BR /&gt;
Regards, Kosa</description>
      <pubDate>Tue, 08 Apr 2008 06:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9612#M2951</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-08T06:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: xls file from ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9613#M2952</link>
      <description>not sure how within a data step, but within a proc print, I need to do the same. This code works [pre]     id claimno ppsnum  / style={tagattr="format:@"} ;  [/pre] then the variables claimno and ppsnum appear in excel in full, with the flag "number stored as text".&lt;BR /&gt;
&lt;BR /&gt;
In proc print, the "/ style= " statement option works on both ID and VAR statements but for some reason, not on a BY statement. Does anyone know why it is not logical to apply that option also there ?&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Tue, 08 Apr 2008 08:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9613#M2952</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-04-08T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: xls file from ODS</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9614#M2953</link>
      <description>Hi:&lt;BR /&gt;
  You can use similar syntax with a DATA step program, but it must be specified in a custom table template. It would be far easier in this situation to swap out the DATA step for a PROC PRINT or PROC REPORT step that used the style= override that sends the Microsoft format from SAS to Excel.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Tue, 08 Apr 2008 11:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/xls-file-from-ODS/m-p/9614#M2953</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-04-08T11:47:21Z</dc:date>
    </item>
  </channel>
</rss>

