<?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: msoffice2k_x leading_zero options generates illegal argument warning for missing values in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165441#M12146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, this was an issue that was corrected with the latest version of the tagset. I hope to have it posted on the web for download in the next week. I can also forward you a copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chevell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 14:31:08 GMT</pubDate>
    <dc:creator>Chevell_sas</dc:creator>
    <dc:date>2014-09-30T14:31:08Z</dc:date>
    <item>
      <title>msoffice2k_x leading_zero options generates illegal argument warning for missing values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165440#M12145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's taken me a while to figure out what was going on, but I have proc report code that was generating tons of messages that said &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: Illegal argument to function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Turns out I was using leading_zero='yes' option on my msoffice2k_x tagset and it generates the warning when a variable has a missing value.&amp;nbsp; Perhaps not for all variables but at least presumably for those which could have a leading zero.&amp;nbsp; Consider the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data temp ;&lt;/P&gt;&lt;P&gt;input Var1 $2. ;&lt;/P&gt;&lt;P&gt;datalines ;&lt;/P&gt;&lt;P&gt;00&lt;/P&gt;&lt;P&gt;01&lt;/P&gt;&lt;P&gt;00&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;00&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;ods tagsets.msoffice2k_x file="Temp.xls" style = sasweb&lt;/P&gt;&lt;P&gt;options(leading_zero="yes") ;&lt;/P&gt;&lt;P&gt;proc report data=temp nowd missing ;&lt;/P&gt;&lt;P&gt;columns var1 ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;ods _all_ close ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It generates one such message.&amp;nbsp; However when I ran it on the real code I was using it generated enough messages that I had to break out of it.&amp;nbsp; Any way around it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running SAS 9.3 on a Windows 64 server.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:24:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165440#M12145</guid>
      <dc:creator>spjcdc</dc:creator>
      <dc:date>2014-09-30T14:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: msoffice2k_x leading_zero options generates illegal argument warning for missing values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165441#M12146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve, this was an issue that was corrected with the latest version of the tagset. I hope to have it posted on the web for download in the next week. I can also forward you a copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chevell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:31:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165441#M12146</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-09-30T14:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: msoffice2k_x leading_zero options generates illegal argument warning for missing values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165442#M12147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chevell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate a copy.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that I can also use htmlstyle=mso-number-format as well.&amp;nbsp; Don't know if one is preferable to another except using the tagset is easier to understand and use.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:40:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165442#M12147</guid>
      <dc:creator>spjcdc</dc:creator>
      <dc:date>2014-09-30T14:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: msoffice2k_x leading_zero options generates illegal argument warning for missing values</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165443#M12148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can use the htmlstyle= as well as you mentioned and can handle various other style issues that arise, however, the optionss was added just for convenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 14:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/msoffice2k-x-leading-zero-options-generates-illegal-argument/m-p/165443#M12148</guid>
      <dc:creator>Chevell_sas</dc:creator>
      <dc:date>2014-09-30T14:43:51Z</dc:date>
    </item>
  </channel>
</rss>

