Hello,
I am new to SAS and trying to pick up the basics of the language. I was trying to do some basic import and proc functions and I am getting the error: ERROR: Unable to restore 'Base.Contents.Attributes' from template store.
I am starting to assume that I did something wrong when it came to installing the software. Here is my code listed below.
Libname mylib "C:\Users\jnemr\Downloads";
data survey;
infile "C:\Users\jnemr\Downloads\Survey.txt";
input Initials $
Gender $
State $
Years
Profession $;
Run;
proc contents data=Survey;
run;
Thanks!
This is what I got in the log for those two lines of code:
335 proc contents data=sashelp.class;run;
WARNING: No output destinations active.
ERROR: Unable to restore 'Base.Contents.Attributes' from template store!
NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.02 seconds
cpu time 0.01 seconds
NOTE: The SAS System stopped processing this step because of errors.
336 proc means data=sashelp.class;run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: PROCEDURE MEANS used (Total process time):
real time 0.01 seconds
cpu time 0.03 seconds
Seems like I have to redo the installation. Do you know if there was a particular part in the installation that I did wrong? Was I supposed to select all packages to be installed at the time of selection? Thanks again!
Running that code returns some errors as well:
337 ods html;
WARNING: Tagset HTML4 not found; the default tagset will be used instead.
ERROR: Default tagset not found. Be sure that tagsets.default and your preferred tagset are in your ODS path.
(Use ODS PATH SHOW to view the current search path.) This output destination cannot continue.
ERROR: Fatal ODS error has occurred. Unable to continue processing this output destination.
ERROR: No body file. TAGSETS.DEFAULT output will not be created.
ERROR: Could not find extension: (tkcal)
ERROR: Scoped connection startup for ycsinit failed to load tkcal.
ERROR: Could not find extension: (tkcal)
ERROR: Scoped connection startup for ycsinit failed to load tkcal.
I am using Base Sas I believe.
Sounds like some corrupt files during the download. Thanks for your help!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.