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

HelIo conmmunity,

 

I received an data export from clincal trial database and there are 50 datasets and 1 formats SAS Catalog, I assume the formats catalog contains all the formats used in the datasets. But before I use the formats, what I should do.

 

If I start the code in below:  

 

libname test 'C:\Users\test'; 

data ae; set test.ae;
run; 

the log will have a few error like below:

...........................................................

ERROR: The format CAETOXGR was not found or could not be loaded.
ERROR: The format $CAEREL was not found or could not be loaded.
ERROR: The format $CAECN was not found or could not be loaded.

1 ACCEPTED SOLUTION

Accepted Solutions
SASKiwi
PROC Star

Assuming your SAS format catalog is in the same folder / library try this after your LIBNAME statement:

options fmtsearch = (WORK, TEST, LIBRARY);

SAS will search for formats in the libraries in the order listed. 

View solution in original post

1 REPLY 1
SASKiwi
PROC Star

Assuming your SAS format catalog is in the same folder / library try this after your LIBNAME statement:

options fmtsearch = (WORK, TEST, LIBRARY);

SAS will search for formats in the libraries in the order listed. 

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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 1 reply
  • 603 views
  • 1 like
  • 2 in conversation