<?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: Stored Process SAS Dollar format issue in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488307#M5759</link>
    <description>&lt;P&gt;It is B0 (Zero)&lt;/P&gt;</description>
    <pubDate>Mon, 20 Aug 2018 18:28:21 GMT</pubDate>
    <dc:creator>BhararaTej</dc:creator>
    <dc:date>2018-08-20T18:28:21Z</dc:date>
    <item>
      <title>Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488302#M5757</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking to get some help here. I am using stored process to output data into excel and the stored process is published through a SAS BI portal. I am using a Proc Print procedure below, but the problem is that everytime it prints in excel with dollar format with 2 decimal inspite of the fact that I dont give options to print out decimal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data _null_;&lt;BR /&gt;rc = stpsrv_header('Content-disposition','attachment; filename= XYZ.xls' );&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;%let _ODSDEST=tagsets.ExcelXP;&lt;BR /&gt;%let _ODSSTYLE=Seaside;&lt;BR /&gt;%let _ODSOPTIONS=%str(options(sheet_name="ABC" frozen_header="3" start_at="1,3" frozen_rowheaders="3" ));&lt;/P&gt;&lt;P&gt;***********************************;&lt;/P&gt;&lt;P&gt;%stpbegin;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data = spds.llp_V2 noobs LABEL style(header)= {background=AQUAMARINE};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FORMAT&lt;BR /&gt;&lt;BR /&gt;B0 DOLLAR17.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LABEL&lt;BR /&gt;B1 = D1 B2 = D2&lt;BR /&gt;B3 = D3 B4 = D4&lt;/P&gt;&lt;P&gt;B5 = D5 B6 = D6&lt;BR /&gt;B7 = D7 B8 = D8&lt;BR /&gt;B9 = D9 B10 = D10&lt;/P&gt;&lt;P&gt;B11 = D11 B12 = D12&lt;BR /&gt;B13 = D13 B14 = D14&lt;BR /&gt;B15 = D15 B16 = D16&lt;BR /&gt;B17 = D17 B18 = D18&lt;BR /&gt;B19 = D19 B20 = D20&lt;BR /&gt;B21 = D21 B22 = D22&lt;BR /&gt;B23 = D23 B24 = D24&lt;BR /&gt;B25 = D25 B26 = D26&lt;BR /&gt;B27 = D27 B28 = D28&lt;BR /&gt;B29 = D29 B30 = D30&lt;BR /&gt;B31 = D31&lt;BR /&gt;ORG_NAME='YEARMO-ORG'&lt;BR /&gt;B0='TOTAL OS';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output of B0 still comes like $1978568.00 and I want it to be just&amp;nbsp;&lt;SPAN&gt;$1978568&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;TJ&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:28:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488302#M5757</guid>
      <dc:creator>BhararaTej</dc:creator>
      <dc:date>2018-08-20T18:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488306#M5758</link>
      <description>&lt;P&gt;Is it BO or B0?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:21:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488306#M5758</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-08-20T18:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488307#M5759</link>
      <description>&lt;P&gt;It is B0 (Zero)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:28:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488307#M5759</guid>
      <dc:creator>BhararaTej</dc:creator>
      <dc:date>2018-08-20T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488310#M5760</link>
      <description>&lt;P&gt;There is nothing in your program to tell Excel how to format that column. The SAS format is just telling SAS how to format the information it writes into the XML file that you are generating. You need to use STYLE options to tell EXCELXP what excel formatting instructions to add to the XML file.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 18:33:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488310#M5760</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-20T18:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488320#M5761</link>
      <description>&lt;P&gt;Thanks Tom.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I havent tried that before specifcally using format with the style option. I have although tried changing colors before using that option&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR ORG_NAME /style(data)={color=BROWN};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide an example of the syntax for changing the format to Dollar7. without any decimals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:01:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488320#M5761</guid>
      <dc:creator>BhararaTej</dc:creator>
      <dc:date>2018-08-20T19:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488321#M5762</link>
      <description>&lt;P&gt;It is B0 (Zero).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488321#M5762</guid>
      <dc:creator>BhararaTej</dc:creator>
      <dc:date>2018-08-20T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488326#M5763</link>
      <description>&lt;P&gt;Use the tagattr attribute.&lt;/P&gt;
&lt;P&gt;Here is your exact issue in another question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Currency-Format-Without-Decimal-Fraction-When-Output-to-Excel-By/td-p/18055" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Currency-Format-Without-Decimal-Fraction-When-Output-to-Excel-By/td-p/18055&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488326#M5763</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-08-20T19:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Stored Process SAS Dollar format issue</title>
      <link>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488332#M5764</link>
      <description>&lt;P&gt;Thanks Tom&lt;/P&gt;</description>
      <pubDate>Mon, 20 Aug 2018 19:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Stored-Process-SAS-Dollar-format-issue/m-p/488332#M5764</guid>
      <dc:creator>BhararaTej</dc:creator>
      <dc:date>2018-08-20T19:41:52Z</dc:date>
    </item>
  </channel>
</rss>

