Hi,
I use SAS 9.4 on my Virtual machine.
I try to run this code a proc ttest but kept getting the same error message:
ERROR: Procedure TTEST not found.
I know the code is correct because someone else ran it fine.
I ran:
proc setinit noalias; run;
And my licence is not expired.
Is my only option re-installing?
Thanks.
When you run PROC SETINIT, does it indicate that SAS/STAT is installed and not yet expired (as shown below when I run it on my computer)
Product expiration dates: ---Base SAS Software 30OCT2020 ---SAS/STAT 30OCT2020
Hi,
Yes, I think it does.
This is what I get:
---Base SAS Software
31MAY2021 (CPU A)
---SAS/STAT
31MAY2021 (CPU A
Do other SAS/STAT procedures work properly?
The only solution I know of is to re-install SAS.
Yeah, other procedures work fine.
I think I will be resorting to re-installing SAS. I am just worried the same thing will happen
hi @Reeza
thank you for the suggestion. I started from a fresh session but still the same issue.
This is the code:
proc ttest data=mylib.final H0=120 sides=U;
var sysbp;
run;
this is the log
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE TTEST used (Total process time):
real time 0.03 seconds
cpu time 0.01 seconds
24 proc ttest data=mylib.final H0=120 sides=U;
ERROR: Procedure TTEST not found.
25 var sysbp;
26 run;
mylib is defined at start up?
Run the following and post the log from a clean session
proc ttest data=sashelp.class h0=12 sides=U;
var age;
run;
Hi,
Mylib is defined in earlier step.
Just ran the code you sent me in a fresh session, here is the log:
WARNING: C:\Program Files\SASHome\SASFoundation\9.4\cmp\sasmsg IS MISSING FROM CONCATENATION.
ERROR: Could not find extension: (tkcal)
ERROR: NEW Connection startup for ycsinit failed to load tkcal.
WARNING: One or more libraries specified in the concatenated library SASHELP
WARNING: do not exist. These libraries were removed from the concatenation.
ERROR: Could not find extension: (tkcal)
ERROR: Scoped connection startup for ycsinit failed to load tkcal.
1 proc ttest data=sashelp.class h0=12 sides=U;
ERROR: Procedure TTEST not found.
2 var age;
3 run;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE TTEST used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.