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. 

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 1333 views
  • 1 like
  • 2 in conversation