Help using Base SAS procedures

Procedure LIFETEST not found. Help!

Occasional Contributor
Posts: 6

Procedure LIFETEST not found. Help!

Hello all:

I'm trying to run the procedure LIFETEST but I'm getting an error. Here's my code:

proc lifetest data=here.hw1;
strata by race;

Here's the SAS log:

78 proc lifetest data=here.hw1;
ERROR: Procedure LIFETEST not found.
79 intervals=(12,24,36,48,60,72);
80 method=life;
81 time=t*(1);
82 strata by race;
83 run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE LIFETEST used (Total process time):
real time 0.01 seconds
cpu time 0.01 seconds

Here's my version of SAS:

SAS 9.1.3 Service Pack 3
XP_PRO platform

Nothing I can find indicates I would be missing the lifetest procedure. This is a version of SAS obtained through my university. Please let me know what might be the issue.

Thanks in advance!
Super Contributor
Super Contributor
Posts: 3,176

Re: Procedure LIFETEST not found. Help!

Possibly the SAS/STAT component was not installed with SAS Base? Are you sure you are licensed for SAS/STAT?

Try to find your "install" file within your SAS install directory, if SAS is on your local system. For SAS 9, it should be a text-format file, possibly named sas91_*.txt (where "*" is a numeric suffix). In this file, I find comp1=, comp2= statements.

And, I cannot remember if there is a DICTIONARY table with info about the installed components - that info escapes me, if if it does exist - I searched and could find no reference on the SAS support website http://support/

Hope this info helps.

Scott Barry
SBBWorks, Inc.
Valued Guide
Posts: 580

Re: Procedure LIFETEST not found. Help!

The setinit procedure shows installed componentes and the remaining time of the licence. Just execute
[pre]proc setinit;
Occasional Contributor
Posts: 6

Re: Procedure LIFETEST not found. Help!

Thanks! I'm not sure how I managed to get through 9 months without needing it or noticing it, but indeed I only had SAS BASE installed. When I entered the installation disc again I was able to add the other packages. Thanks for your help!
Trusted Advisor
Posts: 2,125

Re: Procedure LIFETEST not found. Help!

More precisely, SETINIT shows the products that are LICENSED, not the ones that are installed in any given instance.

If you run SETINIT, it will tell you if you have SAS/Stat licensed.

Doc Muhlbaier
Trusted Advisor
Posts: 2,125

Re: Procedure LIFETEST not found. Help!

Though this is a bit late in this thread, the filedetv8 and filedetv9 will list the programs that are actually installed on a system. See this tech report

Doc Muhlbaier
Ask a Question
Discussion stats
  • 5 replies
  • 4 in conversation