BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
CDD
Calcite | Level 5 CDD
Calcite | Level 5

Hi - I am unable to do anything in SAS because of I continue to receive this message despite not even doing a merge

 

ERROR: The format _MERGE was not found or could not be loaded.

NOTE: The SAS System stopped processing this step because of errors.

 

Even if I do a simple code such as 

 

data libname.a (replace=yes);

set libname.a;

run;

 

I cannot figure out the source or even find a help topic that is not specifically about formats.  If anyone could suggest a solution, I would be grateful.


Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
Astounding
PROC Star

Most likely, if you run a PROC CONTENTS on your data set you will see that a variable has the _MERGE format assigned to it.  That is not a SAS-supplied format, it is a user-defined format.  If that's the case, you have two choices.

 

One possibility:  re-create that format.  You might either use PROC FORMAT to accomplish that, or you might find that those who supplied the data also supplied the format somewhere.  You would need to track down where the format is located, and use the appropriate location in the FMTSEARCH option.

 

An easier possibility:  tell SAS to ignore formats that can't be found, by adding this statement earlier in your program:

 

options nofmterr;

View solution in original post

3 REPLIES 3
Reeza
Super User

Restart SAS and see if the error persists. Or the magic string:

https://blogs.sas.com/content/iml/2013/08/19/errors-that-cause-sas-to-freeze.html

 

If you've already tried this and it didn't work, let us know what you've tried. 

Astounding
PROC Star

Most likely, if you run a PROC CONTENTS on your data set you will see that a variable has the _MERGE format assigned to it.  That is not a SAS-supplied format, it is a user-defined format.  If that's the case, you have two choices.

 

One possibility:  re-create that format.  You might either use PROC FORMAT to accomplish that, or you might find that those who supplied the data also supplied the format somewhere.  You would need to track down where the format is located, and use the appropriate location in the FMTSEARCH option.

 

An easier possibility:  tell SAS to ignore formats that can't be found, by adding this statement earlier in your program:

 

options nofmterr;

CDD
Calcite | Level 5 CDD
Calcite | Level 5

Restarting did not work, but using

 

options nofmterr;

 

allowed for me to continue.

 

Thank you

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1199 views
  • 6 likes
  • 3 in conversation