BookmarkSubscribeRSS Feed
Zozo1998
Calcite | Level 5

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. 

 

9 REPLIES 9
PaigeMiller
Diamond | Level 26

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
--
Paige Miller
Zozo1998
Calcite | Level 5

Hi, 

 

Yes, I think it does. 

This is what I get:

 

---Base SAS Software

  31MAY2021 (CPU A)

---SAS/STAT

  31MAY2021 (CPU A

PaigeMiller
Diamond | Level 26

Do other SAS/STAT procedures work properly?

 

The only solution I know of is to re-install SAS.

--
Paige Miller
Zozo1998
Calcite | Level 5

Yeah, other procedures work fine. 

I think I will be resorting to re-installing SAS. I am just worried the same thing will happen 

Reeza
Super User
Restart your session to ensure you start from a clean session, run your code and show us the full code and log. It's really weird for one proc to disappear and not the whole suite...
Zozo1998
Calcite | Level 5

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;

 

 

Reeza
Super User

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;

Zozo1998
Calcite | Level 5

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

 

Reeza
Super User
That's a little more useful. I'd send that to SAS tech support (if you have a SAS license) and get them to help you out. It looks like someone may have modified the config file or a file incorrectly.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 9 replies
  • 3007 views
  • 1 like
  • 3 in conversation