Benchmarks Online

Skip Navigation Links

Page One

Campus Computing News

Free Virus Protection Software

What's up with computer-based training at UNT?

Helpdesk Access Changes

Good Passwording

EDUCAUSE Southwest Regional Conference

Today's Cartoon

RSS Matters

The Network Connection

Link of the Month


Short Courses

IRC News

Staff Activities

Subscribe to Benchmarks Online

Research and Statistical Support - University of North Texas

RSS Matters

Link to the last RSS article here: SPSS 12.0. -- Ed.

Resolving A Case of An Expired SAS 8.2 Installation

By Patrick McLeod, Research and Statistical Support Services Consultant

UNT’s SAS 8.2 license passed another expiration date on Sunday, February 1st. Functionally, this means that if you were running SAS 8.2 on your computer as an individual installation and had been ignoring the pestering SAS system messages asking you to update your SETINIT file, SAS 8.2 will not open and will not function on your computer. Never fear! There is a simple procedure by which you can update your SAS 8.2 SETINIT file and be up and running in no time.

Before Expiration: PROC SETINIT

Before the grace period expires in SAS 8.2, you can update your SAS installation’s SETINIT file using the SAS procedure PROC SETINIT. To run PROC SETINIT, you obtain a copy of the most recent SAS SETINIT file (a file that updates the internal license object for SAS) from your Network Manager. If you are a Network Manager, you can obtain this file by contacting ACS Research and Statistical Support at x2140 or x4066. We will provide you with a username and password to access a page on the RSS website where you will find the current version of the SAS SETINIT file. You may then access this file at your convenience.

A step-by-step guide follows regarding how to update your SAS license using PROC SETINIT:

  1. Open the SETINIT file in a text editor such as Notepad. You should see something similar to the following:
'SHARE*NET' 'MDDB Server common products'
'OnlineTutor: SAS Programming' 'SECURE-WIN' 'DB2' 'ORACLE'
'SYBASE-SQL Server' 'PC File Formats' 'ODBC' 'OLE DB'
EXPIRE 'Enterprise Miner' 'XXXXXXXXXX'D / CPU=CPU000;
*XYZ 52845;
*Enterprise Miner client technology authorized for 9999 Users;
*09571001 8.2;

Where you see strings of Xs in the above SETINIT program you will see a specific site number, expiration date, and password in a functioning SETINIT file. I have removed the specifics in the file about for purposes of publishing this example in this article.

  1. Open SAS 8.2. Highlight and copy the text of the SETINIT file in your word processor or text editor. Paste this text into the SAS editor window as seen below:

  1. Highlight all the SETINIT information in the SAS Editor and click on the “Run” button on the top toolbar. The “Run” button is the button with the “running man” found fourth in from the right hand side of the toolbar at the top of the SAS client. SAS should run PROC SETINIT and your license information should be updated through the expiration date of this SETINIT file. This date can be found in the EXPIRE=”XXxxxXXXX” string on the fourth line from the top in the SETINIT file.

After Expiration: Command Line SETINIT Renewal

After the grace period expires in SAS 8.2, SAS will no longer open when you attempt to access it either through shortcuts or from the Start menu. If your SAS installation has passed this date, you will no longer be able to update your SAS license using the PROC SETINIT procedure detailed above. The only option for the SAS user faced with this predicament is to update the SAS SETINIT from the command prompt.

Though it involves some non-SAS steps, this renewal need not be complicated. All that is needed is a command prompt in your Windows operating system and copy of the SAS SETINIT file, preferably on floppy disk. The procedure detailed below assumes that all necessary files are on a floppy disk and that your computer’s floppy disk drive is A:\.

  1. Copy the following folder and files to a floppy disk:

SETINIT.SAS (this is the SETINIT.SSS file with a different file extension)
SAS_files folder

  1. Open the commandline.txt file in a word processor or text editor such as Notepad you should find the following:

"c:\program files\sas institute\sas\v8\sas.exe" -config "c:\program files\sas institute\sas\v8\sasv8.cfg" -sysin a:\ -setinit –noautoexec

  1. Copy the commandline.txt file text to a Run window. To acquire a Run window, click on the Start button and then select the Run option from the Start menu. Paste the command line text into the Run window and click the OK button.

This should successfully update your SAS installation if your grace period has expired.

Contact Us!

If there are any problems with this procedure, please contact Research and Statistical Support at x2140 or x4066.

Please contact Research and Statistical Support for the Website address, username, and password in order to access the most current version of the SETINIT file and the files necessary to run the command line update once the SAS grace period has expired. Happy computing!

For More Information

Applying the SAS System SETINIT in the Microsoft Windows Environment (in PDF format):