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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.