<?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: Find and delete a format in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789744#M32429</link>
    <description>&lt;P&gt;Great, thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jan 2022 15:27:35 GMT</pubDate>
    <dc:creator>EmilyAV</dc:creator>
    <dc:date>2022-01-12T15:27:35Z</dc:date>
    <item>
      <title>Find and delete a format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789706#M32421</link>
      <description>&lt;P&gt;In a previous programming session, I wrote the following format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc format;
	value class
	1 = 'No tests'
	2 = '1 to 3 tests'
	3 = '4 or more tests';
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Two questions:&lt;/P&gt;&lt;P&gt;1) How did this format get attached to the 8. general format? Now, when I create other variables and designate them as 8. format, I get the following error message:&lt;/P&gt;&lt;P&gt;ERROR: The format CLASS was not found or could not be loaded&lt;/P&gt;&lt;P&gt;2) How can I search for the CLASS format I created to delete it? It doesn't appear in my permanent or work libraries?&lt;/P&gt;&lt;P&gt;3) How can I change 8. back to a general numeric format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 13:36:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789706#M32421</guid>
      <dc:creator>EmilyAV</dc:creator>
      <dc:date>2022-01-12T13:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find and delete a format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789735#M32428</link>
      <description>&lt;P&gt;1) use "nofmnterr" option:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1djbl02hfnoe3n0zh2i3uu2aqrf.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1djbl02hfnoe3n0zh2i3uu2aqrf.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2) if you dont have definition of a format you can:&lt;/P&gt;
&lt;P&gt;a) overwrite it by "your defaut" format:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
	value class
	other=[best32.];
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;b) or drop the format by proc datasets:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
	value class
	other="My format :-)";
run;

data test;
  a=1;
  format a class.;
run;
proc contents data = test;
run;

proc datasets lib = work;
  modify test;
    format a;
  run;
quit;

proc contents data = test;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;3) try like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc datasets lib = work;
  modify test;
    format a best32.;
  run;
quit;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 14:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789735#M32428</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-01-12T14:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find and delete a format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789744#M32429</link>
      <description>&lt;P&gt;Great, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 15:27:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789744#M32429</guid>
      <dc:creator>EmilyAV</dc:creator>
      <dc:date>2022-01-12T15:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Find and delete a format</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789765#M32434</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/391598"&gt;@EmilyAV&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;In a previous programming session, I wrote the following format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=""&gt;proc format;
	value class
	1 = 'No tests'
	2 = '1 to 3 tests'
	3 = '4 or more tests';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Two questions:&lt;/P&gt;
&lt;P&gt;1) How did this format get attached to the 8. general format? Now, when I create other variables and designate them as 8. format, I get the following error message:&lt;/P&gt;
&lt;P&gt;ERROR: The format CLASS was not found or could not be loaded&lt;/P&gt;
&lt;P&gt;2) How can I search for the CLASS format I created to delete it? It doesn't appear in my permanent or work libraries?&lt;/P&gt;
&lt;P&gt;3) How can I change 8. back to a general numeric format?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The error does not have anything to do with attempting to create other variables. Pretty much any use of data set with a format not currently defined with throw the error when option FMTERR is set. With NOFMTERR set you will often get something similar to&lt;/P&gt;
&lt;PRE&gt;Format XXXXX was not found or could not be loaded.
&lt;/PRE&gt;
&lt;P&gt;where XXXXX is the name of the format in question. The default format for the variable type would then be used.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 17:33:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Find-and-delete-a-format/m-p/789765#M32434</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-01-12T17:33:35Z</dc:date>
    </item>
  </channel>
</rss>

