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.
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...
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...
Worked like a charm, thank you.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.