<?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 commax format error in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888110#M39417</link>
    <description>&lt;P&gt;Hi, I used commax format to format some numeric variables. Nevertheless, running the code I got an error: "character expression requires character format"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
	create table 
	table
	as select 
		variable1,
		variable2   		format commax22.2
	from source;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm sure variable 2 is numeric, why do I get the error? thanks anyone for help&lt;/P&gt;</description>
    <pubDate>Mon, 07 Aug 2023 10:29:49 GMT</pubDate>
    <dc:creator>ari2495</dc:creator>
    <dc:date>2023-08-07T10:29:49Z</dc:date>
    <item>
      <title>commax format error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888110#M39417</link>
      <description>&lt;P&gt;Hi, I used commax format to format some numeric variables. Nevertheless, running the code I got an error: "character expression requires character format"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
	create table 
	table
	as select 
		variable1,
		variable2   		format commax22.2
	from source;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm sure variable 2 is numeric, why do I get the error? thanks anyone for help&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888110#M39417</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2023-08-07T10:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: commax format error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888111#M39418</link>
      <description>&lt;P&gt;Why are you "sure"? Did you run PROC CONTENTS?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 10:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888111#M39418</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-08-07T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: commax format error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888112#M39419</link>
      <description>Yes, i've just run, and i found out the format is "best". Can you suggest me what to do? thanks and excuse me, i'm a new user</description>
      <pubDate>Mon, 07 Aug 2023 10:57:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888112#M39419</guid>
      <dc:creator>ari2495</dc:creator>
      <dc:date>2023-08-07T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: commax format error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888118#M39420</link>
      <description>format commax22.2&lt;BR /&gt;-----&amp;gt;&lt;BR /&gt;	format=commax22.2</description>
      <pubDate>Mon, 07 Aug 2023 12:00:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888118#M39420</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-07T12:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: commax format error</title>
      <link>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888122#M39421</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/436841"&gt;@ari2495&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Yes, i've just run, and i found out the format is "best". Can you suggest me what to do? thanks and excuse me, i'm a new user&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Note the question is not what format is ATTACHED to the variable.&amp;nbsp; The question is what TYPE is the variable.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 13:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/commax-format-error/m-p/888122#M39421</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-08-07T13:23:18Z</dc:date>
    </item>
  </channel>
</rss>

