<?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: Proc report ODS excel output to remove dots in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331037#M74356</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try adding 'not mising' to all the reformatting of the fileds. Doe athat applies to 'INPUT' &amp;nbsp;- Charcter to Number conversion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the below example looks fine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DO;&lt;/P&gt;&lt;P&gt;if not missing(AMT) then amt1 = put(AMT ,10.); &amp;nbsp; &amp;nbsp;/* &amp;nbsp;Number to charcter conversion*/&lt;BR /&gt;&lt;SPAN&gt;if not missing(NBR) then&amp;nbsp;&lt;/SPAN&gt;NBR1 = put(NBR ,10.);&lt;/P&gt;&lt;P&gt;if not missing(UNIT) then UNIT1 = input(UNIT,10.); &amp;nbsp; /* charcter to number conversion */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; END;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2017 23:45:18 GMT</pubDate>
    <dc:creator>SASAna</dc:creator>
    <dc:date>2017-02-08T23:45:18Z</dc:date>
    <item>
      <title>Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331020#M74344</link>
      <description>&lt;P&gt;SAS Users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wanting help with removing dots from Excel output, which is been printed by ODS &amp;amp; PROC report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Due to different data types &amp;amp; lengths problem occured while appending the data &amp;nbsp;from many files , i did formatting &amp;nbsp;(Character to Numeric &amp;amp; Numeric to charcter conversions) and used length &amp;amp; formats to &amp;nbsp;avoid truncation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This formatted data is being proc reported &amp;amp; printed to excel by ODS statement. Due to this i see some dots in the excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to get change dots to empty cells in the Excel using some options ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 22:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331020#M74344</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2017-02-08T22:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331024#M74347</link>
      <description>&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;options &amp;nbsp;missing = '';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331024#M74347</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-02-08T23:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331025#M74348</link>
      <description>&lt;P&gt;Try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;option missing = ' ';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:04:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331025#M74348</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-08T23:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331026#M74349</link>
      <description>&lt;P&gt;I'm assuming your dots are missing values for numeric variables. If not, can you give an example?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:05:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331026#M74349</guid>
      <dc:creator>collinelliot</dc:creator>
      <dc:date>2017-02-08T23:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331029#M74351</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank yu.&lt;/P&gt;&lt;P&gt;Some of them they changed dot to empty cell. that was helpful . but some of them are still there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing the below logic -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IF "class" = "'A'" THEN&lt;/P&gt;&lt;P&gt;DO;&lt;/P&gt;&lt;P&gt;AMT1&amp;nbsp;= put(AMT ,10.); &amp;nbsp; &amp;nbsp;/* &amp;nbsp;data type conversion */&lt;BR /&gt;NBR1 = put(NBR ,10.);&lt;/P&gt;&lt;P&gt;; END;&lt;BR /&gt;ELSE&lt;/P&gt;&lt;P&gt;DO;&lt;/P&gt;&lt;P&gt;AMT1= AMT; &amp;nbsp; &amp;nbsp;/* for other classess data type conversion not needed */&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NBR1 = NBR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;END;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am renaming them back i the next data step &amp;amp; appending the data by loop &amp;nbsp;of class.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i am appending the data for class A , B, C, D,E, F , G and doing ODS excel.. I am seeing the dots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ana&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331029#M74351</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2017-02-08T23:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331031#M74352</link>
      <description>Yes, Colline, you are right . They could be missing Numbers.</description>
      <pubDate>Wed, 08 Feb 2017 23:28:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331031#M74352</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2017-02-08T23:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331033#M74354</link>
      <description>&lt;P&gt;Figure out where in your process you're adding the dots. If a character variable has a dot, then SAS will print a dot because it's a character.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to ensure that the PUT conversion to character is handling the missing values appropriately, which I don't think you're doing now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code below creates character variables with dots. I'm not sure if you set missing to blank first it would be fixed or you can add a conditon to check for missing data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DO;&lt;/P&gt;
&lt;P&gt;if not missing(AMT) then amt1 = put(AMT ,10.); &amp;nbsp; &amp;nbsp;/* &amp;nbsp;data type conversion */&lt;BR /&gt;&lt;SPAN&gt;if not missing(NBR) then&amp;nbsp;&lt;/SPAN&gt;NBR1 = put(NBR ,10.);&lt;/P&gt;
&lt;P&gt;; END;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:36:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331033#M74354</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-02-08T23:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331036#M74355</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/86567"&gt;@SASAna&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;IF "class" = "'A'" THEN&lt;/P&gt;
&lt;P&gt;DO;&lt;/P&gt;
&lt;P&gt;AMT1&amp;nbsp;= put(AMT ,10.); &amp;nbsp; &amp;nbsp;/* &amp;nbsp;data type conversion */&lt;BR /&gt;NBR1 = put(NBR ,10.);&lt;/P&gt;
&lt;P&gt;; END;&lt;BR /&gt;ELSE&lt;/P&gt;
&lt;P&gt;DO;&lt;/P&gt;
&lt;P&gt;AMT1= AMT; &amp;nbsp; &amp;nbsp;/* for other classess data type conversion not needed */&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;NBR1 = NBR;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;END;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Those statements create periods as text when missing values for AMT or NBR&amp;nbsp;UNLESS you set OPTIONS MISSING=' '; &lt;STRONG&gt;before&lt;/STRONG&gt; the data step that generates them.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331036#M74355</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-02-08T23:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331037#M74356</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will try adding 'not mising' to all the reformatting of the fileds. Doe athat applies to 'INPUT' &amp;nbsp;- Charcter to Number conversion?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the below example looks fine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DO;&lt;/P&gt;&lt;P&gt;if not missing(AMT) then amt1 = put(AMT ,10.); &amp;nbsp; &amp;nbsp;/* &amp;nbsp;Number to charcter conversion*/&lt;BR /&gt;&lt;SPAN&gt;if not missing(NBR) then&amp;nbsp;&lt;/SPAN&gt;NBR1 = put(NBR ,10.);&lt;/P&gt;&lt;P&gt;if not missing(UNIT) then UNIT1 = input(UNIT,10.); &amp;nbsp; /* charcter to number conversion */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; END;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:45:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331037#M74356</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2017-02-08T23:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS excel output to remove dots</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331040#M74357</link>
      <description>You are right . I added option missing =' ' before the datastep &amp;amp; before ODS report , all the dots vanished.&lt;BR /&gt;Thanks much,&lt;BR /&gt;Ana</description>
      <pubDate>Thu, 09 Feb 2017 00:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-report-ODS-excel-output-to-remove-dots/m-p/331040#M74357</guid>
      <dc:creator>SASAna</dc:creator>
      <dc:date>2017-02-09T00:08:28Z</dc:date>
    </item>
  </channel>
</rss>

