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

Hi, 

 

I am fairly new to sas. I have received a sas datafile from my work site and would like to work on analyzing it. I sent the data to myself via email (personal computer has SAS, computers at site do not), but when i go to open the data i receive the message "The format ____ was not found or could not be loaded" for all of the variables. 

 

I am using the code:

 

libname wcc 'C:\Users\14437\Documents\GradSchool\Practicum\Data\Data';
data wcc;
set wcc.data;
run;

 

The data file I am attempting to open is a .sas7bdat file.

Any idea of how to remedy this? I do have a formats file, but i'm not sure how to use it.

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

Use this as the first line of your SAS program.

 

options nofmterr;

Also see this thread https://communities.sas.com/t5/SAS-Programming/How-to-share-SAS-data-set-with-custom-formats/td-p/59... 

--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

Use this as the first line of your SAS program.

 

options nofmterr;

Also see this thread https://communities.sas.com/t5/SAS-Programming/How-to-share-SAS-data-set-with-custom-formats/td-p/59... 

--
Paige Miller
bknight
Calcite | Level 5

Worked like a charm, thank you.

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
  • 2 replies
  • 2126 views
  • 0 likes
  • 2 in conversation