<?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 Previously working syntax can no longer load formats file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780508#M248713</link>
    <description>&lt;P&gt;I've been developing a piece of syntax for a week or so, and the formatting has been working fine.&amp;nbsp; Today, I'm suddenly getting errors such as:&amp;nbsp; "ERROR: The format FMT_1_43F was not found or could not be loaded."&lt;/P&gt;
&lt;P&gt;The formats file is in the "base" directory, and according to the log, is being loaded correctly:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; LIBNAME base "Z:\Data sources\MVC Analytic Table Data 10.14.21";
NOTE: Libref BASE was successfully assigned as follows:
      Engine:        V9
      Physical Name: Z:\Data sources\MVC Analytic Table Data 10.14.21

   proc format library=base.formats; run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.05 seconds
      cpu time            0.03 seconds
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I opened the formats file and all of the individual formats appear to be set up correctly, so I don't think the file has been corrupted.&lt;/P&gt;
&lt;P&gt;This seems more like a software glitch, so I shut down SAS and restarted it, but that didn't make any difference.&amp;nbsp; I would also like to reboot the computer, but I'm remotely logged into a virtual machine so I don't have the ability to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Nov 2021 17:52:00 GMT</pubDate>
    <dc:creator>Wolverine</dc:creator>
    <dc:date>2021-11-16T17:52:00Z</dc:date>
    <item>
      <title>Previously working syntax can no longer load formats file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780508#M248713</link>
      <description>&lt;P&gt;I've been developing a piece of syntax for a week or so, and the formatting has been working fine.&amp;nbsp; Today, I'm suddenly getting errors such as:&amp;nbsp; "ERROR: The format FMT_1_43F was not found or could not be loaded."&lt;/P&gt;
&lt;P&gt;The formats file is in the "base" directory, and according to the log, is being loaded correctly:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; LIBNAME base "Z:\Data sources\MVC Analytic Table Data 10.14.21";
NOTE: Libref BASE was successfully assigned as follows:
      Engine:        V9
      Physical Name: Z:\Data sources\MVC Analytic Table Data 10.14.21

   proc format library=base.formats; run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.05 seconds
      cpu time            0.03 seconds
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I opened the formats file and all of the individual formats appear to be set up correctly, so I don't think the file has been corrupted.&lt;/P&gt;
&lt;P&gt;This seems more like a software glitch, so I shut down SAS and restarted it, but that didn't make any difference.&amp;nbsp; I would also like to reboot the computer, but I'm remotely logged into a virtual machine so I don't have the ability to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 17:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780508#M248713</guid>
      <dc:creator>Wolverine</dc:creator>
      <dc:date>2021-11-16T17:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Previously working syntax can no longer load formats file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780511#M248714</link>
      <description>&lt;P&gt;Can you please show how you created the permanent formats or trying to access them?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/43822"&gt;@Wolverine&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I've been developing a piece of syntax for a week or so, and the formatting has been working fine.&amp;nbsp; Today, I'm suddenly getting errors such as:&amp;nbsp; "ERROR: The format FMT_1_43F was not found or could not be loaded."&lt;/P&gt;
&lt;P&gt;The formats file is in the "base" directory, and according to the log, is being loaded correctly:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; LIBNAME base "Z:\Data sources\MVC Analytic Table Data 10.14.21";
NOTE: Libref BASE was successfully assigned as follows:
      Engine:        V9
      Physical Name: Z:\Data sources\MVC Analytic Table Data 10.14.21

   proc format library=base.formats; run;

NOTE: PROCEDURE FORMAT used (Total process time):
      real time           0.05 seconds
      cpu time            0.03 seconds
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I opened the formats file and all of the individual formats appear to be set up correctly, so I don't think the file has been corrupted.&lt;/P&gt;
&lt;P&gt;This seems more like a software glitch, so I shut down SAS and restarted it, but that didn't make any difference.&amp;nbsp; I would also like to reboot the computer, but I'm remotely logged into a virtual machine so I don't have the ability to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 18:00:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780511#M248714</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-11-16T18:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Previously working syntax can no longer load formats file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780512#M248715</link>
      <description>&lt;P&gt;Is the Base library in the FMTSEARCH path?&lt;/P&gt;
&lt;P&gt;That option tells SAS where to look for formats that do not appear in the Work or the default format libraries supplied by SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check with:&lt;/P&gt;
&lt;PRE&gt;proc options option=fmtsearch;
run;&lt;/PRE&gt;
&lt;P&gt;If your log does not show the Base library then that is the issue. This should add the library to the path:&lt;/P&gt;
&lt;PRE&gt;options append(fmtsearch=base);&lt;/PRE&gt;
&lt;P&gt;If code was working previously then that may mean either an admin changed something or you ran some code that removed the library from the Fmtsearch and kept that setting somehow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 18:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780512#M248715</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-11-16T18:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Previously working syntax can no longer load formats file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780517#M248720</link>
      <description>&lt;P&gt;It doesn't look like the Base library is there anymore:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option=fmtsearch; run;

SAS (r) Proprietary Software Release 9.4 TS1M6

FMTSEARCH=(WORK LIBRARY)
Specifies the order in which format catalogs are searched.
NOTE: PROCEDURE OPTIONS used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But when I tried to use the code you suggested to add it back in, I got an error.&amp;nbsp; I tried it another way, but that didn't work either.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;194  options append(fmtsearch=base);
             ----------------------
             13

ERROR 13-12: Unrecognized SAS option name APPEND(FMTSEARCH=BASE).

195  proc options append(fmtsearch=base);
                  ------
                  22
                  76
ERROR 22-322: Syntax error, expecting one of the following: ;, ADB, APF, DB2, DDB, DEFINE, EXPAND, GETRESTRICT, GROUP, HELP, HEXVALUE,
              HOST, IDM, IMS, ISP, LISTGROUPS, LISTINSERTAPPEND, LISTOPTSAVE, LISTRESTRICT, LOGNUMBERFORMAT, LONG, NOEXPAND,
              NOLOGNUMBERFORMAT, OPTION, PORTABLE, PWDBLOTOFF, RESTRICT, SHORT, SHOWCHAINS, VALUE.
ERROR 76-322: Syntax error, statement will be ignored.
196  run;
&lt;/CODE&gt;&lt;/PRE&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>Tue, 16 Nov 2021 18:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780517#M248720</guid>
      <dc:creator>Wolverine</dc:creator>
      <dc:date>2021-11-16T18:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Previously working syntax can no longer load formats file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780525#M248722</link>
      <description>&lt;P&gt;APPEND must be used like other options with an equal sign:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options append=(fmtsearch=base);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Nov 2021 18:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Previously-working-syntax-can-no-longer-load-formats-file/m-p/780525#M248722</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-11-16T18:39:30Z</dc:date>
    </item>
  </channel>
</rss>

