<?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: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332870#M22141</link>
    <description>&lt;P&gt;Probably has more to do with how you are using the macro variables in the code than with the prompts themselves.&lt;/P&gt;
&lt;P&gt;If you want to create a string literal then you need to have the value in quotes. &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;name = 'Sally';
address = "123 West Front Street";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the value of the string literal is coming from a macro variable then the quotes need to be double quote characters, otherwise the &amp;amp; trigger is treated as a normal character.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;company = 'Ben&amp;amp;Jerry' ;
ceo = "&amp;amp;my_prompt_value" ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;SAS also support date literals (and other special literals) in a similar way. &amp;nbsp;In particular date literals use a quoted string follwed immediately by the letter D. &amp;nbsp;The string needs to be in DATE. format (ie ddMMMyy , dd-MMM-yyyy).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let due_date_prompt = 15APR2017 ;
....
 days_left = "&amp;amp;due_date_prompt"d - date() ;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 15 Feb 2017 02:29:40 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2017-02-15T02:29:40Z</dc:date>
    <item>
      <title>Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332853#M22133</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting an error when I try to format several results to comma9.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Format Total_FY_Answered_Calls Comma9.;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _______&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 484&lt;BR /&gt;NOTE 484-185: Format $COMMA was not found or could not be loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure if the Prompts I have used are affecting the end result - they are set to&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Prompt Type: Numeric&lt;/LI&gt;&lt;LI&gt;Allow only integer values&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;IMG width="357" height="129" title="Prompt.png" alt="Prompt.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7232iBBDC76D60A7B4649/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data work.ASA_Forecast_Part_Calc_1;
	Set Work.ASA_Forecast_Part_sum;
	Additional_Calls = "&amp;amp;Total_Calls_1" - Calls_Answered_cnt;
	Total_FY_Answered_Calls = "&amp;amp;Total_Calls_1" ;
	Total_Add_TM = Additional_Calls * "&amp;amp;Total_Calls_1_ASA";
	Required_ASA = "&amp;amp;Total_Calls_1_ASA";
	ASA = (Total_Add_TM + TOTAL_ANSWER_TM) / Total_FY_Answered_Calls;

	Format Total_FY_Answered_Calls Comma9.;



RUN;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The current output looks like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="Output.JPG" alt="Output.JPG" src="https://communities.sas.com/t5/image/serverpage/image-id/7233iC2B1E499FCDEE177/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;This is what I woukl like the numeric figures to be formatted as&lt;/P&gt;&lt;P&gt;&lt;IMG width="806" height="142" title="Required_Output.JPG" alt="Required_Output.JPG" src="https://communities.sas.com/t5/image/serverpage/image-id/7234iDA9E4DED565D061A/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13446i4F1FBDBD33764178/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Required_Output.JPG" title="Required_Output.JPG" /&gt;</description>
      <pubDate>Wed, 15 Feb 2017 00:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332853#M22133</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-02-15T00:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332858#M22134</link>
      <description>&lt;PRE&gt;
If I was right , variable Total_FY_Answered_Calls  is character type.
Check it by
 proc contents data=have; run;

&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 01:57:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332858#M22134</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-02-15T01:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332861#M22135</link>
      <description>&lt;P&gt;Did you notice the $ in the error message? &amp;nbsp;SAS has kindly tried to fix&amp;nbsp;your attempt to attach the numeric format COMMA to the character variable&amp;nbsp;&lt;SPAN&gt;Total_FY_Answered_Calls by looking for the character format $COMMA instead. &amp;nbsp;But it did not find any $COMMA format.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Assuming that your macro variables contain strings that look like numbers you should be able to fix this by just removing the quotes.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Additional_Calls = &amp;amp;Total_Calls_1 - Calls_Answered_cnt;
Total_FY_Answered_Calls = &amp;amp;Total_Calls_1 ;
Total_Add_TM = Additional_Calls * &amp;amp;Total_Calls_1_ASA;
Required_ASA = &amp;amp;Total_Calls_1_ASA;
ASA = (Total_Add_TM + TOTAL_ANSWER_TM) / Total_FY_Answered_Calls;
Format Total_FY_Answered_Calls Comma9.;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:06:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332861#M22135</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-15T02:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332863#M22136</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Ksharp - I thought that was the case - Now for the silly question how do I change them to be numeric?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will need to convert to numeric the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Total_FY_Answered_Calls&lt;/LI&gt;&lt;LI&gt;Required_ASA&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="format.JPG" alt="format.JPG" src="https://communities.sas.com/t5/image/serverpage/image-id/7235i0F0A0530452ABAC8/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:07:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332863#M22136</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-02-15T02:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332864#M22137</link>
      <description>&lt;PRE&gt;
use INPUT() then format it.

new=input(Total_FY_Answered_Calls , best32.);
format new comma.;




&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332864#M22137</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-02-15T02:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332865#M22138</link>
      <description>&lt;P&gt;Thanks Tom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That has done it for me - so simple when you know how.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to clarify as I have only used prompts for dates -&lt;/P&gt;&lt;P&gt;You use the quote marks if it is a date or text otherwise if the input is numeric leave the quotes out?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332865#M22138</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-02-15T02:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332866#M22139</link>
      <description>&lt;P&gt;Thanks KSharp,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom's advice worked for me but will keep your code for future reference to help format output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332866#M22139</guid>
      <dc:creator>DME790</dc:creator>
      <dc:date>2017-02-15T02:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error 484 NOTE 484-185: Format $COMMA was not found or could not be loaded.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332870#M22141</link>
      <description>&lt;P&gt;Probably has more to do with how you are using the macro variables in the code than with the prompts themselves.&lt;/P&gt;
&lt;P&gt;If you want to create a string literal then you need to have the value in quotes. &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;name = 'Sally';
address = "123 West Front Street";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If the value of the string literal is coming from a macro variable then the quotes need to be double quote characters, otherwise the &amp;amp; trigger is treated as a normal character.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;company = 'Ben&amp;amp;Jerry' ;
ceo = "&amp;amp;my_prompt_value" ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;SAS also support date literals (and other special literals) in a similar way. &amp;nbsp;In particular date literals use a quoted string follwed immediately by the letter D. &amp;nbsp;The string needs to be in DATE. format (ie ddMMMyy , dd-MMM-yyyy).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let due_date_prompt = 15APR2017 ;
....
 days_left = "&amp;amp;due_date_prompt"d - date() ;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 02:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Error-484-NOTE-484-185-Format-COMMA-was-not-found-or-could-not/m-p/332870#M22141</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-02-15T02:29:40Z</dc:date>
    </item>
  </channel>
</rss>

