<?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: Odd format error present when not formatting anything in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291874#M270084</link>
    <description>&lt;P&gt;This means that the format in question is assigned to a column in one of the contributing datasets, but cannot be found in your current format search path (which is set with options ftmsearch).&lt;/P&gt;
&lt;P&gt;You either have to expand your fmtsearch so that the catalog containing the format is included, or run the proc format step that creates the format if the format is not stored in a permanent location.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2016 12:48:18 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-08-16T12:48:18Z</dc:date>
    <item>
      <title>Odd format error present when not formatting anything</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291870#M270083</link>
      <description>&lt;P&gt;I'm getting an error regarding formatting that its puzzling to me. &amp;nbsp;Here is the code I'm trying to run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=M4in.Data1  out=Data1_sorted;
	by idvar cat1 st_date;
run;

%Macro CO_Date;

data TEST;
	set &lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;Data1_sorted&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;;&lt;BR /&gt;run; &lt;BR /&gt;&lt;BR /&gt;%mend; &lt;BR /&gt;%CO_Date;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This code is erroring out, returning an "ERROR:&amp;nbsp;The format PERIOD_FMT was not found or could not be loaded". &amp;nbsp;There is normally more within the macro, but the error occurrs regardless of what is inside. &amp;nbsp;It is even happening when its just the simple copying of the previously created sorted dataset. &amp;nbsp;The sort runs fine, but the macro will not, no matter what is inside of it.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291870#M270083</guid>
      <dc:creator>secbro</dc:creator>
      <dc:date>2016-08-16T12:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Odd format error present when not formatting anything</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291874#M270084</link>
      <description>&lt;P&gt;This means that the format in question is assigned to a column in one of the contributing datasets, but cannot be found in your current format search path (which is set with options ftmsearch).&lt;/P&gt;
&lt;P&gt;You either have to expand your fmtsearch so that the catalog containing the format is included, or run the proc format step that creates the format if the format is not stored in a permanent location.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:48:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291874#M270084</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-16T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Odd format error present when not formatting anything</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291876#M270085</link>
      <description>&lt;P&gt;It sounds to me like the dataset you give has a variable with the format&amp;nbsp;&lt;SPAN&gt;PERIOD_FMT applied to it. &amp;nbsp;However this format is not defined within your code, nor is the formats catalog in work containing a reference to this format. &amp;nbsp;You can get round the issue by using:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;options nofmterr;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;before your code. &amp;nbsp;However that is a workaround, and it may create other problems - for instance that variable will not show any formatted values - so you may not know what they reflect. &amp;nbsp;I would ask for the format.sas or formats.sas7bcat files which define formats.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 12:51:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291876#M270085</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-08-16T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Odd format error present when not formatting anything</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291878#M270086</link>
      <description>&lt;P&gt;Thanks for the responses! &amp;nbsp;This dataset is coming from another programmer so its probable&amp;nbsp;that they are creating this format. &amp;nbsp;I'll go ahead and check with them to see if I can get this format and add it to my program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 13:00:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291878#M270086</guid>
      <dc:creator>secbro</dc:creator>
      <dc:date>2016-08-16T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Odd format error present when not formatting anything</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291928#M270087</link>
      <description>&lt;P&gt;In the meantime you can use&lt;/P&gt;
&lt;P&gt;options nofmterr;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so that missing formats are not an actual error. Then you would be able to see the raw values involved and do some manipulation of the data.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:21:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Odd-format-error-present-when-not-formatting-anything/m-p/291928#M270087</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-08-16T15:21:59Z</dc:date>
    </item>
  </channel>
</rss>

