If you can still run SAS programs, then your copy of SAS has not yet expired. In that case, updating your setinit is as simple as running the setinit program using your copy of SAS.
You probably received your setinit in an email message. Before you run it, let’s double check that it is the right setinit for your version of SAS and for your type of computer.
- Double check the RELEASE to make sure that it corresponds to the SAS version that you are running (e.g. RELEASE=’8.00′; would mean that this setinit is for SAS Version 8, but would not work with version 6.12 or with version 8.1).
- Double check the OSNAME to make sure it corresponds to your operating system (e.g. OSNAME=’WIN_NTE’ would be for Windows, and OSNAME=’MAC’ would be for the Macintosh).
Now, let’s apply your setinit. If you look at the setinit you can see that it is a SAS program just like any SAS program, and you run it just like you would run any SAS program. For example, you can copy the setinit from your email, and paste it into the program editor and then submit the program (e.g. by pressing the F3 key). After you run it, check the SAS log to see if it ran successfully. If it was successful, you would see a message at the end of the log like
NOTE: Siteinfo data have been updated. NOTE: Secondary setinit data have been updated.
NOTE: Siteinfo data have been updated.
If you look earlier in the log, you would also see that the expiration dates have been updated, e.g. the log below indicates that SAS is now set to expire June 30, 2001 (another indication that the setinit has been successfully applied).
Expiration: 30JUN2008. Grace Period: 45 days (ending 14AUG2008). Warning Period: 45 days (ending 28SEP2008). System birthday: 09JUL2007. Operating System: WIN . Product expiration dates: ---Base Product 30JUN2008 ---SAS/STAT 30JUN2008 ---SAS/GRAPH 30JUN2008 ---SAS/ETS 30JUN2008 ---SAS/FSP 30JUN2008 <etc. etc. etc.>
If there is a problem, check these common errors.
- Did you chop off the beginning of the setinit (e.g. the PROC SETINIT) or the end of it (e.g. the SAVE; RUN;).
- Is this the right setinit for your computer and operating system?
- When does this setinit expire (did you accidentally use an old expired setinit)?
- Did you edit your setinit using Microsoft word (and forget to save it as text only)?
- If you typed in the setinit, are there any typos?