BookmarkSubscribeRSS Feed
VVDR
Obsidian | Level 7

Hi All,

I am getting below error while executing SAS DI job.

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

Format catalog locatio is pointing to as below:

LIBNAME glfmt "/data/SASEnvironment/SASFormats/G_L";
options fmtsearch=(glfmt);

And, the same code executed without any errors earlier and there are no modifications in the code. Can you advise what am I missing here in terms of fixing the issue.

I have reloaded the formats from prod to dev ( assuming catalogue got corrupted) but still the same issue.

Thanks 

3 REPLIES 3
PaigeMiller
Diamond | Level 26

From now on, please show us the entire log for this PROC or DATA step. Do NOT show us errors in the log without showing us the rest of the log for this PROC or DATA step.

 

Your format calim_s is not defined when you run this particular code. It doesn't matter that it was defined on an earlier run, somehow the format is not defined any longer and it must be defined for this run. We can't debug further since you didn't show us your code and your LOG.

--
Paige Miller
Astounding
PROC Star

A likely possibility based on this description:  the data has changed.

 

Take a look at which variable(s) use this format.  Probably you will find a variable that used to be character in the old (working) data, but is now numeric in the current (nonworking) data.

 

Of course we can't tell why this happened.  But this should start your path in the right direction.

tarheel13
Rhodochrosite | Level 12

you can try options nofmterr to get rid of the error. 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 662 views
  • 1 like
  • 4 in conversation