BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have a data library defined that provides data to my EG project. This library also contains an existing permanent Formats catalog (called Formats). A process flow exists that summarizes data in the library, and a stored process was created from the process flow.

When the stored process is run it abends with an error stating formats are not available for particular variables. How can the existing, permanent Formats catalog be made available for data in the same library?

thanks.
3 REPLIES 3
ChrisHemedinger
Community Manager
You might need to set the fmtsearch option within your stored process program to ensure that the stored process session can access your defined formats.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
Cynthia_sas
Diamond | Level 26
George: The book you want is the Platform Administration guide. It is in PDF format.

http://support.sas.com/documentation/configuration/bicag.pdf

Search for the string "SASFormats" in the PDF file. You should find some hits that explain that there is generally one place that is automatically searched for formats and it is in this path on the server:
[pre]
SAS-config-dir/Lev1/SASMain/SASEnvironment/SASFormats
[/pre]

If you write your formats to this directory, they will automatically be found and you do not need a FMTSEARCH option in your code. However, if you put your format catalog in a different place, then the Administration Guide explains about using FMTSEARCH.

cynthia
deleted_user
Not applicable
Chris and Cynthia,

Thanks for the advice. Either of those options would help. I initially tried FMTSEARCH but not as it's presented in the admin guide.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1195 views
  • 0 likes
  • 3 in conversation